|
Boost : |
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2007-02-27 09:30:26
Péter Szilágyi wrote:
> A little side question: is there any Unicode character support in boost?
No. Regex, when built with Unicode support, requires ICU for that. Boost
doesn't have its own Unicode stuff. (There's something in the vault,
though.)
> STL
> includes the wstring but that is 4 byte unicode (and quite hard to mingle
> with simple strings).
Actually, it is whatever the compiler decides it should be. On Linux
systems with a default GCC, yes, that's UTF-32, but under Windows it's
typically UCS-2 or UTF-16 (with or without surrogate support, that is).
> But is there a way to use UTF 8/16/32?
I'm working on one. But I don't know how well it will be received. I
hope I can show a preliminary version soon.
Sebastian Redl
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk