Re: Tao of string encodings (Re: Converting ASCII to UTF-8?)
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.