mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-19 04:42:11 +00:00
Spirit were assuming that wchar_t is 32-bit and the content is UCS-4. It is wrong, the actual representation is implementation defined [lex.ccon]/6. However, on most Unix platforms this assumption is valid and gives the expected outcome, but on Windows wchar_t is 16-bit and the content is UTF-16.