Re: printing arrays
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