Boost C++ Libraries: Ticket #11858: Boost.Seriliazation broken when using Unicode characters https://svn.boost.org/trac10/ticket/11858 <p> It seems that somewhere after 1.57. Boost.Serialization is broken for Unicode characters. The code difference is in archives, e.g. in 1.57 in xml_woarchive_impl the utf8_codecvt_facet is set, but this has been disabled in 1.60. </p> <div class="wiki-code"><div class="code"><pre><span class="kt">void</span> <span class="nf">f</span><span class="p">()</span> <span class="p">{</span> <span class="n">std</span><span class="o">::</span><span class="n">wstring</span> <span class="n">wstr</span> <span class="o">=</span> <span class="sa">L</span><span class="s">&quot;</span><span class="se">\u20AC</span><span class="s">&quot;</span><span class="p">;</span> <span class="n">std</span><span class="o">::</span><span class="n">wofstream</span> <span class="n">ofs</span><span class="p">(</span><span class="sa">L</span><span class="s">&quot;c:</span><span class="se">\\</span><span class="s">temp</span><span class="se">\\</span><span class="s">bla.xml&quot;</span><span class="p">);</span> <span class="n">boost</span><span class="o">::</span><span class="n">archive</span><span class="o">::</span><span class="n">xml_woarchive</span> <span class="n">oa</span><span class="p">(</span><span class="n">ofs</span><span class="p">);</span> <span class="n">oa</span> <span class="o">&lt;&lt;</span> <span class="n">boost</span><span class="o">::</span><span class="n">serialization</span><span class="o">::</span><span class="n">make_nvp</span><span class="p">(</span><span class="s">&quot;tag&quot;</span><span class="p">,</span> <span class="n">wstr</span><span class="p">);</span> <span class="p">}</span> </pre></div></div><p> see thread.gmane.org/gmane.comp.lib.boost.user/85178 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11858 Trac 1.4.3 Robert Ramey Fri, 15 Jan 2016 17:45:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11858#comment:1 https://svn.boost.org/trac10/ticket/11858#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I believe that the recent upload to develop fixes this. A couple of compilers/complain though </p> Ticket