[Boost-bugs] [Boost C++ Libraries] #2021: Multibyte conversion on wide strings fails on systems with incorrect locale

Subject: [Boost-bugs] [Boost C++ Libraries] #2021: Multibyte conversion on wide strings fails on systems with incorrect locale
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-19 06:10:03


#2021: Multibyte conversion on wide strings fails on systems with incorrect locale
--------------------------------------+-------------------------------------
 Reporter: robert.bielik_at_[hidden] | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: serialization
  Version: Boost 1.34.1 | Severity: Showstopper
 Keywords: |
--------------------------------------+-------------------------------------
 When saving std::wstring with Japanese chars on an English system,
 std::wctomb fails (due to incorrect locale). The conversion should be done
 to UTF-8 instead which is locale-independent. For workaround I now store
 std::string with UTF-8 encoding.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2021>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC