• 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: 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.


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>)

  • 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