Le 31 oct. 2012 à 16:31, Ken Thomases <k...@codeweavers.com> a écrit :

> On Oct 31, 2012, at 10:17 AM, lbland wrote:
> 
>> On Oct 31, 2012, at 10:41 AM, "Gerriet M. Denkmann" <gerr...@mdenkmann.de> 
>> wrote:
>> 
>>>     NSString *s = @"ร่วมรส";
>> 
>> Not supported. The compiler should be issuing a warning. You need to escape 
>> the characters using a UTF encoding.
> 
> That's not true.  The compiler has supported UTF-8 source encoding for quite 
> a while now.

Not only it supports UTF-8 sources, but more important, it supports unicode 
NS/CFString literals. 
Such string will not be encoded using UTF-8 (as will be a C string literal), 
but as an UTF-16 NSString.

-- Jean-Daniel





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to