http://llvm.org/bugs/show_bug.cgi?id=8341
Summary: lit.site.cfg doesn't specify character encoding.
python complains on unicode paths.
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
SyntaxError: Non-ASCI character '\xc3' in file
<BLAH>/llvm-2.8/tools/clang/test/lit.site.cfg on line 3, but no encoding
declared; see http://www.python.org/peps/pep-0263.html for details.
Where <BLAH> was some unicode path.
The fix in this case was to add:
# -*- coding: utf-8 -*-
But I'm not sure this is correct in the general case. People use other
encodings than utf-8.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs