c++ - boost::property_tree::json_parser::read_json cannot read files if path contains cyrillic characters -


is possible open files have cyrillic parts in path? able read/write cyrillic contents of files, not know how open file as

json_parser::read_json  

only has std::string parameter , no std::wstring. can me?

this limitation inherited c++ standard streams. microsoft's streams have non-standard extension accept wstring paths, ptree doesn't allow them.

try using boost.filesystem's streams. open stream outside function , pass open stream read_json.


Comments

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

python - More Issues with overlapping labels in Tkinter -