Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11529: regression: boost::archive::archive_exception exception during serialization non latin1 strings to xm
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-01 17:13:40
#11529: regression: boost::archive::archive_exception exception during
serialization non latin1 strings to xm
-------------------------------+---------------------------
Reporter: nikolay@⦠| Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.58.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+---------------------------
Comment (by nikolay@â¦):
I have attached a patch which fixes from problems (with serialization and
with de-serialization).
Could somebody commit changes into boost repository?
Code I used to test deserialization:
{{{
boost::filesystem::wifstream ifs("c:\\test.xml");
std::string s1;
std::wstring w1;
std::wstring w2;
boost::archive::xml_wiarchive ia(ifs);
ia >> boost::serialization::make_nvp("key1", s1);
ia >> boost::serialization::make_nvp("key2", w1);
ia >> boost::serialization::make_nvp("key3", w2);
return 0;
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11529#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC