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

c++ - OpenMP unpredictable overhead -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

javascript - Wordpress slider, not displayed 100% width -