Boost logo

Boost :

From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2004-04-09 01:36:09

If you want it to work with UTF-8, you should avoid using any
non-hexadecimal/octal-specified character or string literals for
comparison, since there is no guarantee that the character or string
literal, even if it is a wide literal, will be encoded in any
particular encoding.

(This is one of the annoyances of dealing with Unicode in C++ -- and
justifies a language extension which would allow specifying UTF-8,
UTF-16, and/or UTF-32-encoded string literals as well as UTF-32
character literals (single code points).)

Jeremy Maitin-Shepard

Boost list run by bdawes at, gregod at, cpdaniel at, john at