diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-07-12 15:24:59 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-07-12 15:24:59 +0000 |
commit | 676776e99be7a347eab5d4bbf4196204467571f5 (patch) | |
tree | 304523ad7f4b08713c4f4837bc8e93c0a9f45e79 /src/htscharset.h | |
parent | 98ea5be208a248bb7006748a64c1f5f59b2f5c6d (diff) |
Added hts_isStringUTF8() function.
Diffstat (limited to 'src/htscharset.h')
-rw-r--r-- | src/htscharset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/htscharset.h b/src/htscharset.h index 92f8b7c..0b5b4f2 100644 --- a/src/htscharset.h +++ b/src/htscharset.h @@ -87,6 +87,11 @@ extern char *hts_getCharsetFromMeta(const char *html, size_t size); extern int hts_isStringAscii(const char *s, size_t size); /** + * Is the given string an UTF-8 string ? + **/ +extern int hts_isStringUTF8(const char *s, size_t size); + +/** * Is the given charset the UTF-8 charset ? **/ extern int hts_isCharsetUTF8(const char *charset); |