[odb-users] ODB compiler does not handle UTF-8 with BOM properly
Stanislav Ivochkin
isn at extrn.org
Tue Jul 1 04:42:02 EDT 2014
When running ODB compiler on UTF-8 with BOM encoded headers it reports
errors:
file.h:1:1: error: stray ‘\357’ in program
file.h:1:1: error: stray ‘\273’ in program
file.h:1:1: error: stray ‘\277’ in program
Note that the same error is reported by some versions of gcc that lack BOM
support.
I am using binary ODB Compiler v.2.3.0 running on Ubuntu 12.04 i386. The
windows version seems to be affected too.
Due to some VS limitations of handling utf8, I can not convert sources to
BOM-free utf8.
Any ideas for workarounds?
--
Regards,
Stas.
More information about the odb-users
mailing list