• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert unicode string into ascii
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Convert unicode string into ascii
      • From: "I. Savant" <email@hidden>
References: 
 >Convert unicode string into ascii (From: Davide Scheriani <email@hidden>)

  • Prev by Date: Re: Undocumented Leopard support for overlapping sibling views
  • Next by Date: Re: Convert unicode string into ascii
  • Previous by thread: Re: Convert unicode string into ascii
  • Next by thread: Re: Convert unicode string into ascii
  • Index(es):
    • Date
    • Thread