Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.


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>)
 >Re: Tao of string encodings (Re: Converting ASCII to UTF-8?) (From: Marco Scheurer <email@hidden>)
 >Re: Tao of string encodings (Re: Converting ASCII to UTF-8?) (From: Andrew Thompson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.