diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-22 04:34:13 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-22 23:51:59 +0100 |
commit | 9dd7ea9a7d5053be0c2a744b1b57a7b1dc203f0e (patch) | |
tree | 0a1d04e9c7071b1552fe26cee6454386bfaa4e8c /src/basic/utf8.h | |
parent | Merge pull request #2878 from martinpitt/master (diff) | |
download | systemd-9dd7ea9a7d5053be0c2a744b1b57a7b1dc203f0e.tar.xz systemd-9dd7ea9a7d5053be0c2a744b1b57a7b1dc203f0e.zip |
Ignore BOM in config files
Fixes #2823.
Also remove unnecessary feof check.
Diffstat (limited to 'src/basic/utf8.h')
-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); |