Boost logo

Boost :

Subject: Re: [boost] [locale] Review results for Boost.Locale library
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-05-02 17:59:02


On 02/05/2011 08:47, Artyom wrote:

> It is not enough.
>
> You can't do it in cross platform way properly as you
> can't currently get UTF-8 or UTF-16 or UTF-32 string
> literal properly for cross platform code till all
> compilers will support C++0x u/U/u8 literals
> and at this point NONE of the existing popular compilers
> support them (checked MSVC, GCC, Intel, SunCC)

Wide strings literals can perfectly be assumed to be UTF-16 or UTF-32,
and that's portable.

Also as I suggested you can use a macro that allows the usage of unicode
string literals instead where they're available.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk