Boost logo

Boost :

Subject: Re: [boost] Fw: [locale] Formal review of Boost.Locale library
From: Ryou Ezoe (boostcpp_at_[hidden])
Date: 2011-04-14 16:35:48

Saving source file in UTF-8 with BOM doesn't make MSVC use UTF-8 as
char encoding.
It's just because ASCII is compatible with UTF-8 encoding.
It's still a Multibyte Character Set.
I use Windows with Japanese locale.
In my environment, string literal with no encoding prefix become Shift-JIS.

So this library takes whatever encoding the compiler use for char and
use it as unique identifier for a corresponding translated text.

If you really want to use UTF-8, then you have to use C++0x's u8
encoding prefix.
Not many compiler support it yet though.

Ryou Ezoe

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