Re: Get an escape sequence out of an NSString

2010-08-14 Thread Alex Kac
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 wrot

Get an escape sequence out of an NSString

2010-08-13 Thread Alex Kac
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 bein