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

Nikola Smiljanic popizdeh at gmail.com
Thu Jan 30 02:38:34 PST 2014


What platform are you on? Clang doesn't handle unicode filepaths correctly
on windows. http://llvm.org/bugs/show_bug.cgi?id=10348


On Thu, Jan 30, 2014 at 7:06 PM, Vladimir <VladimirPlyashkun at yandex.ru>wrote:

> 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.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140130/e58afc8e/attachment.html>


More information about the cfe-dev mailing list