[cfe-dev] Problem with non-english symbols in file path

Vladimir VladimirPlyashkun at yandex.ru
Thu Jan 30 00:06:57 PST 2014


Hello, i'm using clang and i try to parse some file (filepath passed to my
app through command line). I set locale in code, so string content looks
correct (also standart ifstream/ofstream works good), but when i pass this
string to clang:
compiler.getFileManager().getFile(file);
FileEntry* is always NULL, which causes an assert (that i pass invalid file
). How i can solve this problem? I hope, that clang can support russian
symbols in filepath.



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Problem-with-non-english-symbols-in-file-path-tp4037506.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list