On Apr 6, 2015, at 11:45:52, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:
> 
>> 
>>>     NSString *string = @"abc 🚲 xyz";        // BICYCLE = U+1F6B2
>> 
> 
> If this is so: why did my compiler not tell me about this?
> 
>       NSString *string = @"abc 〄 xyz";        // JAPANESE INDUSTRIAL STANDARD 
> SYMBOL = U+3004

Perhaps because U=3004 is a 2-byte value and U+1f6b2 is not? Have you tried 
changing the encoding of your source file to something else? You'll probably 
have to store such strings in .strings or hardcode the hex values and build the 
strings from that.

--
Steve Mills
Drummer, Mac geek


_______________________________________________

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