• 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: what to do with this string \u00fb\u2013
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what to do with this string \u00fb\u2013


  • Subject: Re: what to do with this string \u00fb\u2013
  • From: John Stiles <email@hidden>
  • Date: Mon, 13 Nov 2006 18:41:35 -0800

You're looking at this in the debugger or in the console.
\uXXXX means "a unicode character with the hexadecimal code point XXXX."
You can look these up one at a time in the Mac OS' character palette. Or, you can output the string to somewhere other than a debugging console and just try to read it directly.
FWIW, I think the data you've presented here is just garbage, or a bad encoding type, on first glance. But I could be wrong.



On Nov 13, 2006, at 6:17 PM, Jesse Grosjean wrote:

I'm trying to debug a "corrupted" string. The string was archived as readable text (or at least it was supposed to have been) in a dictionary but when it's unachieved the NSString has this content:

\u00fb\u2013\u00dc\u00c1,Ub7\u2026...

I realize that it's probably an encoding problem, but I'm not really sure what the best way to turn those codes into normal text is.

Can someone give me a hint of how to turn an NSString with the above content into an NSString with readable text content?

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >what to do with this string \u00fb\u2013 (From: Jesse Grosjean <email@hidden>)

  • Prev by Date: Re: Creating NSBoxes with draggable divider lines
  • Next by Date: Re: Creating NSBoxes with draggable divider lines
  • Previous by thread: what to do with this string \u00fb\u2013
  • Next by thread: Re: what to do with this string \u00fb\u2013
  • Index(es):
    • Date
    • Thread