std::locale::name function provides very limited information about a locale. Such a name is platform- and compiler-dependent, and is useless for Boost.Locale. There is no way to change it, so for all locales created by Boost.Locale,
name() returns the same value as
Thus an additional facet was created, giving more precise information: boost::locale::info. It has the following member functions:
charbased strings, for example "UTF-8"