Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-09-28 05:53:04


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net