• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get an escape sequence out of an NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get an escape sequence out of an NSString


  • Subject: Re: Get an escape sequence out of an NSString
  • From: Alex Kac <email@hidden>
  • Date: Sat, 14 Aug 2010 13:06:47 -0500

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 <email@hidden> 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 (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
_______________________________________________

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

References: 
 >Get an escape sequence out of an NSString (From: Alex Kac <email@hidden>)

  • Prev by Date: Re: va_list customize strings and objects.
  • Next by Date: Re: Recursive file remove
  • Previous by thread: Get an escape sequence out of an NSString
  • Next by thread: va_list customize strings and objects.
  • Index(es):
    • Date
    • Thread