[LLVMdev] [cfe-dev] Unicode path handling on Windows

NAKAMURA Takumi geek4civic at gmail.com
Thu Sep 1 21:00:38 PDT 2011


Nikola,

Your patchset does not work;

e>bin\clang.exe  -S なかむら\たくみ.c
error: error reading '邵コ・ェ邵コ荵昴・郢ァ蝎らクコ貅假ソ・邵コ・ソ.c'
1 error generated.

  - Would it be not enough in somewhere?
    I suspect clang still might be pathv1-dependent.
    (I guess, pathv1 would assume ansi)
  - raw_ostream does not handle utf8, but ansi, on win32.

I would like to propose;

  - converting utf8 and utf16 may move to llvm/lib/Support.
  - we may get rid of CP_UTF8 with Win32 API. It must be trivial.

ps. excuse me, I might respond you more, later. (oops lunch time was over...)

...Takumi



More information about the llvm-dev mailing list