id summary reporter owner description type status milestone component version severity resolution keywords cc 3367 all wchar_t c-strings are truncated on deserialization anonymous Robert Ramey "basic_binary_iprimitive::load(wchar_t * ws) { std::size_t l; this->This()->load(l); load_binary(ws, l * sizeof(wchar_t) / sizeof(char)); ws[l / sizeof(wchar_t)] = L'\0'; } l is determined by std::wcslen on saving, which returns the number of wchar_t characters in the string. not the length in bytes. the \0 insert treats l as it was an offset in bytes. " Bugs closed Boost 1.40.0 serialization Boost 1.39.0 Problem fixed wchar_t