Re: unicode text in the console
Re: unicode text in the console
- Subject: Re: unicode text in the console
- From: David Dunham <email@hidden>
- Date: Sun, 13 Sep 2009 23:01:42 -0700
On 13 Sep 2009, at 10:44, Matt Neuburg wrote:
...is there any way I could get the console to show me the actual
Unicode
characters (glyphs)? m.
How are you getting that text there? This came up recently, and IIRC
it mattered whether you were doing CFShow or printf.
I'm not doing any of those, I'm just logging (or using Print to
Console).
Perhaps I need to change what an NSString's -description does? m.
Odd.
NSString* s = @"\u03b1\u03b3\u03b3\u03b5\u03bb\u03bb\u03c9";
CFShow(s); printf("%s\n", [s UTF8String]);
NSLog(@"%@", s);
outputs
\u03b1\u03b3\u03b3\u03b5\u03bb\u03bb\u03c9
αγγελλω
2009-09-13 23:00:25.903 TestForMatt[23548:207] αγγελλω
(it's all Greek to me).
David Dunham
Mobile: +1 206 769 2227 http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden