• 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: printing arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing arrays


  • Subject: Re: printing arrays
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 02 Nov 2012 13:02:54 -0700

Gerriet M. Denkmann wrote:

2012-...]  Bad Array: (
    "\U0e01\U0e38\U0e0d\U0e41\U0e08",
    "\U0e04\U0e38\U0e13\U0e04\U0e48\U0e32"
)


For a very long time, the -description method of NSArray (and other collection classes) has produced the old-style ASCII plist format. Since that format has no direct representation for non-ASCII characters, the output is produced in escaped Unicode form.

See the description of Representations here:
http://en.wikipedia.org/wiki/Property_list

I don't know if collections have always done this, but they've acted that way for so long that I don't feel motivated to boot up an old PPC Mac and track it back into the dawn of history.

  -- GG

_______________________________________________

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

  • Prev by Date: Re: is this possible in iOS with constraints?
  • Next by Date: Re: Core Data user Info
  • Previous by thread: Re: printing arrays
  • Next by thread: QuickTime player X - like timeline control (NSSlider for setting video position)
  • Index(es):
    • Date
    • Thread