• 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: Andrew Farmer <email@hidden>
  • Date: Thu, 28 Aug 2008 13:40:02 -0700

On 28 Aug 08, at 12:08, Ricky Sharp wrote:
Just to point this out, the sequence of ASCII may not be useful at all if the file is say Unicode. The actual bytes making up each char could be "ASCII" values themselves.

Unicode is a character set, not an encoding. I'm not sure about UTF-16 or other stranger encodings, but I do know that any UTF-8 character below 0x80 corresponds directly to a single ASCII character. This is a design feature of the encoding.
_______________________________________________


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: Ricky Sharp <email@hidden>
References: 
 >Convert unicode string into ascii (From: Davide Scheriani <email@hidden>)
 >Re: Convert unicode string into ascii (From: Martin Stoufer <email@hidden>)
 >Re: Convert unicode string into ascii (From: Ricky Sharp <email@hidden>)

  • Prev by Date: programatically quit a program
  • Next by Date: Re: programatically quit a program
  • Previous by thread: Re: Convert unicode string into ascii
  • Next by thread: Re: Convert unicode string into ascii
  • Index(es):
    • Date
    • Thread