Re: Convert unicode string into ascii
Re: Convert unicode string into ascii
- Subject: Re: Convert unicode string into ascii
- From: Deborah Goldsmith <email@hidden>
- Date: Thu, 28 Aug 2008 15:36:47 -0700
You can use CFStringTransform to process Unicode in several ways that
might be useful for what you're doing. Or you can just go through it
character by character. To see what CFStringTransform can do, see:
http://icu-project.org/userguide/Transform.html
I should point out that you can only write English with a-z, so I
don't know if I'd consider the other characters "weird". Not to
mention characters like ¥, ©, and so on.
Deborah Goldsmit
Apple Inc.
email@hidden
On Aug 28, 2008, at 11:38 AM, Davide Scheriani wrote:
hello guys,
is a way to convert an unicode string into a simple a-z>0-9 string
and replace the other wierd chars into a "." (full stop)?
im doing a small hex reader, so maybe this could help you.
_______________________________________________
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
_______________________________________________
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