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: j o a r <email@hidden>
- Date: Wed, 31 Mar 2004 16:23:27 +0200
WebCore also has an encoding sniffer that can be used. I's geared
towards HTML/XML contents, as I would expect Mozilla is. The HTTP
headers rarely contains correct encoding info (based on the limited
tests I did about a year ago), and I would assume that they both look
more to the contents than these headers.
I have posted about this a while ago:
<
http://cocoa.mamasam.com/COCOADEV/2003/09/2/73570.php>
j o a r
On 2004-03-31, at 15.58, Andrew Thompson wrote:
>
Mozilla has a fairly good built in sniffer (View->Character
>
Coding->Auto-detect->Universal).
>
It took them a while to develop and of course its not perfect. There's
>
the problem that it assumes HTTP where you may get a char encoding
>
header to go one. Of course, that's a mixed blessing because many
>
servers are mis-configured and serve the wrong one!
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.