aboutsummaryrefslogtreecommitdiffstats
path: root/src/utf8.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-07-03 21:52:51 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-07-04 01:07:34 +0200
commit1099a4d991942655c0291a74b488322d5da533bd (patch)
tree0a91f413d3675122a15f49a87fd9413baf46c655 /src/utf8.h
parent4aac65c4b8f2d8415ca8d9d8449e0158e0ff1e9c (diff)
downloadblogc-1099a4d991942655c0291a74b488322d5da533bd.tar.gz
blogc-1099a4d991942655c0291a74b488322d5da533bd.tar.bz2
blogc-1099a4d991942655c0291a74b488322d5da533bd.zip
utf8: skip BOM, if found
Diffstat (limited to 'src/utf8.h')
-rw-r--r--src/utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utf8.h b/src/utf8.h
index 837d02f..582ae1c 100644
--- a/src/utf8.h
+++ b/src/utf8.h
@@ -15,5 +15,6 @@
bool blogc_utf8_validate(const uint8_t *str, size_t len);
bool blogc_utf8_validate_str(sb_string_t *str);
+size_t blogc_utf8_skip_bom(const uint8_t *str, size_t len);
#endif /* _UTF_8_H */