Re: Where is my bicycle?
Re: Where is my bicycle?
- Subject: Re: Where is my bicycle?
- From: Steve Mills <email@hidden>
- Date: Mon, 06 Apr 2015 11:52:26 -0500
On Apr 6, 2015, at 11:45:52, Gerriet M. Denkmann <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden