Nevermind. I figured out my problem. I had a space in front of the character 
and it was late and I didn't recognize the decimal as I know it better in hex. 

-- 
Sent from my mobile phone
(please excuse any mistakes or short response I might have made)

On Aug 13, 2010, at 10:05 PM, Alex Kac <a...@webis.net> wrote:

> Given an NSString @"\ue001" like this, how does one get the value into an 
> NSInteger so that its equal to 0xe001? I've tried converting it to an NSData 
> with an encoding of NSUTF16BigEndianStringEncoding, but I'm not getting what 
> I expect. Experience has taught me that usually its because I'm being dumb. 
> So trying to get out of being dumb, I'm asking for help.
> 
> 
> 
> _______________________________________________
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net
> 
> This email sent to a...@webis.net
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to