id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4314,write_json() create_escapes(),pascal.fautre@…,Sebastian Redl,"'''Bad handling of escaping:''' From an std::string, *b is a char (not unsigned char). {{{ unsigned long u = (std::min)(static_cast(*b), 0xFFFFul); }}} This line converts all chars with a negative value to 0xFFFFul. On Mac OSX 10.6 there is a problem with std::locale, it cannot be changed to something else than 'C'. The strings I added in my ptree are already UTF-8 encoded. All french accents become uFFFF\uFFFF with write_json() while they are written fine with write_xml().",Bugs,closed,Boost 1.43.0,property_tree,Boost 1.42.0,Problem,fixed,,