Using Boost::json_parser() convert Json to XML with Shift JIS encoding

129 Views Asked by At

In my MFC project, I must receive string of json from webservice.And then I need to convert this json to XML format. So I try to use the Boost C++ library for converting to XML file. Actually, a json will be converted to be property tree before converting to xml. But I has a problem because it was converted to be incorrect words. Because a string of json includes Japanese language. (as Shift-JIS encoding)

How do I fix it ?

0

There are 0 best solutions below