fixed a lot of unicode errors (#344)

BOMs currently yield an error.
This commit is contained in:
Niels 2016-10-29 19:35:17 +02:00
parent b03bbe724d
commit b820bb3b1f
5 changed files with 334 additions and 145 deletions

View file

@ -75,7 +75,7 @@ clang_sanitize: clean
# create scanner with re2c
re2c: src/json.hpp.re2c
$(RE2C) -W --bit-vectors --nested-ifs --no-debug-info $< | $(SED) '1d' > src/json.hpp
$(RE2C) -W --utf-8 --encoding-policy fail --bit-vectors --nested-ifs --no-debug-info $< | $(SED) '1d' > src/json.hpp
# pretty printer
pretty: