id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11981,boost::archive::xml_woarchive with locale dosen't work,anonymous,Robert Ramey,"New locale library seems to have a bug. ""Implemented generic codecvt facet and add general purpose utf8_codecvt facet"" {{{ #include #include #include #include #include #include #include int wmain(int argc, wchar_t* argv[]) { std::locale::global(std::locale(""japanese"")); std::wofstream wofs(""output.xml""); boost::archive::xml_woarchive oa(wofs); // exception in 1.60 oa << boost::serialization::make_nvp(""string"", std::string(""日本語文字列"")); wofs.close(); std::string str; std::wifstream wifs(""output.xml""); boost::archive::xml_wiarchive ia(wifs); ia >> boost::serialization::make_nvp(""string"", str); wifs.close(); return 0; } }}} An exception occurs in boost 1.60 in Visual Studio 2013. ""invalid multbyte/wide char conversion"". This exception doesn't occur in boost 1.59, but this code makes invalid xml. The encoding is not UTF-8 but SJIS. In boost 1.57, it makes valid UTF-8 encoding xml.",Bugs,reopened,To Be Determined,serialization,Boost 1.65.0,Regression,,"locale, xml_woarchive, serialization",