Boost logo

Boost Users :

From: Andrei Tarassov (andrei.tarassov_at_[hidden])
Date: 2006-03-22 04:01:27


As I understand using this feature requires ICU. Unfortunately, this is
not an option for us :-(

Andrei

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of John Maddock
Sent: Tuesday, March 21, 2006 20:54
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [regex] Working with wchar_t on
olderUNIXplatforms

> I am intrigued with what you said about converting data from UTF-8 to
> UTF-32 on the fly. It is absolutely not a problem to convert my
> Unicode strings to UTF-8 encoded strings. Where could I read about
> those on the fly conversions and what limitations do they have (e.g.
> how locale settings are handled)?

What locale settings? UTF-8 is mostly locale-independent (as an
encoding),
the only locale specific code is in the traits class to handle
collation:
and it only sees UTF-32 code points. The on-the-fly conversions are
performed by iterator adapters in
boost/regex/pending/unicode_iterator.hpp
and the docs for the Unicode aware code is here:
http://www.boost.org/libs/regex/doc/icu_strings.html

John.

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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