• 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: Tao of string encodings (Re: Converting ASCII to UTF-8?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)


  • Subject: Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 30 Mar 2004 14:45:14 -0800

On Mar 30, 2004, at 1:49 PM, Jim Rankin wrote:

Your program is handled a file path or url that's ostensibly a text
file. From that point, how do you know the encoding of what you've
just been handed?

You don't. From this arises much of the confusion attributable to encodings. The same problem arises when you have mail or HTML for which the originator has neglected to specify an encoding.

Generally what will happen is that the application (text editor, mail client, browser) will attempt to guess the encoding, but allow the user to specify it if necessary.

The problems multiply whenever the text passes into other forms--for example, mail messages being incorporated in digests or replies.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Converting ASCII to UTF-8? (From: "Huyler, Christopher M" <email@hidden>)
 >Re: Converting ASCII to UTF-8? (From: Shawn Erickson <email@hidden>)
 >Tao of string encodings (Re: Converting ASCII to UTF-8?) (From: Jim Rankin <email@hidden>)

  • Prev by Date: Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)
  • Next by Date: Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)
  • Previous by thread: Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)
  • Next by thread: Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)
  • Index(es):
    • Date
    • Thread