Re: Unicode names
Re: Unicode names
- Subject: Re: Unicode names
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 19 Jul 2008 12:50:57 +0700
On 19 Jul 2008, at 08:41, Adam R. Maxwell wrote:
On Jul 18, 2008, at 5:45 AM, Gerriet M. Denkmann wrote:
Is there a way (Cocoa, Carbon or whatsoever) to get the Unicode
name of a character?
Like: unicodeName( 0x1D110 ) = "MUSICAL SYMBOL FERMATA".
Sure, I could (at least on 10.4.11) read /System/Library/Perl/
5.8.6/unicore/UnicodeData.txt, but as Unicode names are used in
Edit -> Special Characters... there might be some system function
to get at this info.
Try CFStringTransform() with kCFStringTransformToUnicodeName.
I did. Works perfectly. Thanks a lot!
Kind regards
Gerriet.
_______________________________________________
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