![]() |
От: |
jazzer
|
Skype: enerjazzer |
Дата: | 18.04.11 01:35 | ||
Оценка: | 2 (2) |
Boost.Locale provides thorough localization features to C++ programs by
way of std::locale facets. Excerpted from the introduction:
C++ offers a very good base for localization via the existing C++
locale facets [...] But these are very limited and sometimes buggy
by design. Support for localization varies [...], and there are
frequently incompatibilities between them.
On the other hand, there is a great, well debugged, high quality,
widely used ICU library that gives all of the goodies. But it has a
very dated API that mimics Java behavior, completely ignores the
STL, and provides a useful API only for UTF-16 encoded text,
ignoring other popular Unicode encodings like UTF-8 and UTF-32 and
limited but still popular national character sets like Latin1.
Boost.Locale provides the natural glue between the C++ locales
framework, iostreams, and the powerful ICU library.
Although it can use the ICU library, it supports several other
processing options as well.
You will always get what you always got
If you always do what you always did