[cfe-dev] Clang can not compile file with chinese name.

Sean Silva silvas at purdue.edu
Tue Sep 17 21:00:19 PDT 2013


FWIW, I think this is an issue specific to Clang on Windows. This works for
me on Linux:

sean:~/tmp % cat 汉语.cpp
#include <stdio.h>

int main() {
  printf("Inside 汉语.cpp\n");
  return 0;
}
sean:~/tmp % clang++ 汉语.cpp
sean:~/tmp % ./a.out
Inside 汉语.cpp

(I have no idea what "汉语" means, btw; I just grabbed the first Chinese text
I could find)

-- Sean Silva


On Tue, Sep 17, 2013 at 9:30 PM, fiveight <fiveight at tom.com> wrote:

> Hi All:
>
> I am using Clang 3.3 on Windows7. I compiled tow Clang 3.3, one by vs2008
> and another by vs2010.
>
> But both of them can not compile file with chinese name.
>
> How can I resolve this problem?
>
> Thanks!
>
> _______________________________________________
> 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/20130918/04800016/attachment.html>


More information about the cfe-dev mailing list