Re: converting unicode text representation to unichar
Re: converting unicode text representation to unichar
- Subject: Re: converting unicode text representation to unichar
- From: Daniel Child <email@hidden>
- Date: Tue, 11 Aug 2009 14:48:49 -0400
SOLVED!
My stupid error: passing address of value instead of just value.
Thanks very much for your help. Character displays correctly.
On Aug 11, 2009, at 1:30 PM, Daniel Child wrote:
Thank you. I think I'm almost there, though I'm getting incorrect
values. I tried both %c and %C. These yield, respectively, î and
, which are incorrect.
2009-08-11 13:24:58.879 ParseTest[566:10b] The num is U+4E01
2009-08-11 13:24:58.889 ParseTest[566:10b] codeItself is 4E01
2009-08-11 13:24:58.891 ParseTest[566:10b] charAsString is 19969
2009-08-11 13:24:58.892 ParseTest[566:10b] strc is î
2009-08-11 13:24:58.893 ParseTest[566:10b] strC is
_______________________________________________
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