diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-21 23:34:13 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-22 18:51:59 -0400 |
commit | 9dd7ea9a7d5053be0c2a744b1b57a7b1dc203f0e (patch) | |
tree | 0a1d04e9c7071b1552fe26cee6454386bfaa4e8c /src/basic | |
parent | e31512b1c93a7ebd7e67730ac6d5d9a15b9b51ab (diff) |
Ignore BOM in config files
Fixes #2823.
Also remove unnecessary feof check.
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/utf8.h b/src/basic/utf8.h index 12c272d66e..f9b9c9468b 100644 --- a/src/basic/utf8.h +++ b/src/basic/utf8.h @@ -28,6 +28,7 @@ #include "missing.h" #define UTF8_REPLACEMENT_CHARACTER "\xef\xbf\xbd" +#define UTF8_BYTE_ORDER_MARK "\xef\xbb\xbf" bool unichar_is_valid(char32_t c); |