http://llvm.org/bugs/show_bug.cgi?id=8454
Summary: Clang writes ObjC string literals as UTF-16 if they
contain UTF-8 characters
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When using @"a", Clang outputs an ASCII a in the .s file. If however an UTF-8
encoded @"รค" is used, Clang translates this to UTF-16 and writes it in UTF-16
into the .s file. However, there is NO way of detecting the encoding of the
string. You have to guess whether Clang used UTF-16 or ASCII.
The expected behaviour would be that Clang writes the string into the .s file
just the way it was in the source file.
--
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