Boost C++ Libraries: Ticket #435: Problem writing wstrings containing \0 to xml archives https://svn.boost.org/trac10/ticket/435 <pre class="wiki">When writing a std::wstring containing a \0 character to an xml_oarchive, only the initial substring up to (but not including) the \0 is written. This is demonstrated in the attached testcase. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/435 Trac 1.4.3 nobody Mon, 11 Jul 2005 15:21:08 GMT <link>https://svn.boost.org/trac10/ticket/435#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/435#comment:1</guid> <description> <pre class="wiki">Logged In: NO OK - clearly an oversight on my part. Actually, your case points to a somewhat larger problem. The question about non displayable characters in utf-8 locale's. xml has syntax for handling this so its doable but it means that the xml generation/parsing has to be enhanced to be sensitive to this. Its not a big thing but it end up bigger than it looks at first glance. This will take a little time to fix. Thanks for spotting this. Robert Ramey </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Thu, 20 Oct 2005 04:45:36 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/435#comment:2 https://svn.boost.org/trac10/ticket/435#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=396141 Pending issue. xml doesn't permit some characters in strings. This will be addressed probably in 1.34 </pre> Ticket