From 1099a4d991942655c0291a74b488322d5da533bd Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 3 Jul 2016 21:52:51 +0200 Subject: utf8: skip BOM, if found --- src/utf8.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utf8.h') 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 */ -- cgit v1.2.3-18-g5258