• 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: [Q] What encoding method can be automatically detected?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] What encoding method can be automatically detected?


  • Subject: Re: [Q] What encoding method can be automatically detected?
  • From: JongAm Park <email@hidden>
  • Date: Thu, 01 Feb 2007 09:50:34 -0800

Yes. They know about it.

It is introduced here, http://www.mozilla.org/projects/intl/chardet.html

My default setting with the Firefox is to detect character encoding automatically, and it works quite well for the most case.
They don't forget to give users an option to choose encoding method manually. So, sometimes if text is not displayed correctly, then users can choose proper encoding manually. ( Users can try many encoding method by guessing. :) )


My intention is to provide users automatic detection at first, and let them to check the text. If the text is not displayed as they expect, they can change the encoding method manually. So, as its first step, I'm trying to use "automatic detection".

Thank you.

Sherm Pendley wrote:
On Feb 1, 2007, at 11:56 AM, JongAm Park wrote:

At home, I made my iMac compile the Firefox. Within the firefox source code, there is a chardet library which detects character encoding used for a given string. Because it depends on statistics, it would give back more accurate result if the string is long enough.
Because I work with some text files, it should be OK.

It's worth pointing out that FireFox developers also explicitly recognize that this function is essentially a guess, and provide the "view/encoding" menu item to allow the user to choose an encoding manually when the function guesses wrong.


sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >[Q] What encoding method can be automatically detected? (From: JongAm Park <email@hidden>)
 >Re: [Q] What encoding method can be automatically detected? (From: Ricky Sharp <email@hidden>)
 >Re: [Q] What encoding method can be automatically detected? (From: JongAm Park <email@hidden>)
 >Re: [Q] What encoding method can be automatically detected? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: NSString encoding and perl script encoding
  • Next by Date: Re: iCal stop responding after exception.
  • Previous by thread: Re: [Q] What encoding method can be automatically detected?
  • Next by thread: NSString encoding and perl script encoding
  • Index(es):
    • Date
    • Thread