
28 Sep
2007
28 Sep
'07
9:53 a.m.
Jens Seidel wrote:
That's the valid byte order mark. See e.g. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
Right: it's a byte order mark for UTF16LE, but the user is trying to read it as a UTF8 sequence. If the file is indeed UTF16LE then it's up to the user to read it into a sequence of valid UTF16 code points before passing to Boost.Regex. HTH, John.