in reply to Re: What's the best way to detect character encodings, Windows-1252 v. UTF-8?
in thread What's the best way to detect character encodings, Windows-1252 v. UTF-8?
Thank you very much, Bart.
As I wrote in my inquiry, "I know each file is in one of exactly two different character encodings: Windows-1252 or UTF-8." So I don't have to worry about the various ISO-8859 character sets.
As I mentioned, "I considered using Encode::Guess, but rejected it because it seems hinky." I read criticism of it that suggested it's no good at doing precisely what I need to do: simply to distinguish between Windows-1252 and UTF-8 character encodings in text that is predominantly in the Latin script—mostly in English with incidental text in other Western European languages.
Jim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What's the best way to detect character encodings, Windows-1252 v. UTF-8?
by bart (Canon) on Jun 23, 2011 at 11:37 UTC |