[LLVMbugs] [Bug 8454] Clang writes ObjC string literals as UTF-16 if they contain UTF-8 characters
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri May 13 11:14:00 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=8454
Fariborz Jahanian <fjahanian at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #9 from Fariborz Jahanian <fjahanian at apple.com> 2011-05-13 13:14:00 CDT ---
Your patch went in in r131298.
(In reply to comment #8)
> Yes, this is indeed intended, as for Cocoa, it emits UTF-16 if there are
> unicode characters in the string and sets a flag to signal that to the class.
> However, there is no such flag when using -fconstant-string-class
> -fno-constant-cfstrings, so it should always just write UTF-8.
>
> Sorry about the wrong bug report, the correct number is #6056.
--
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.
More information about the llvm-bugs
mailing list