Boost C++ Libraries: Ticket #9452: split + is_any_of on char16_t splits on zero character https://svn.boost.org/trac10/ticket/9452 <p> boost::algorithm::split + boost::algorithm::is_any_of on char16_t* splits given string on zero character, which differs from the char* version. </p> <p> Pseudo-example: </p> <ul><li>split("a\0b", "X") -&gt; ("a\0b") </li><li>split(u"a\0b", u"X") -&gt; ("a", "b") </li></ul><p> There's a workaround of wrapping u"X" in a std::u16string, which works perfectly well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9452 Trac 1.4.3 anonymous Mon, 02 Dec 2013 05:22:14 GMT attachment set https://svn.boost.org/trac10/ticket/9452 https://svn.boost.org/trac10/ticket/9452 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_split_char16t.cpp</span> </li> </ul> Ticket