summaryrefslogtreecommitdiff
path: root/src/htscharset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscharset.h')
-rw-r--r--src/htscharset.h5
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);