in reply to Perl detect utf8, iso-8859-1 encoding
Since no one has said it: detecting for encoding is always broken and should only ever be used as a last resort. If you have any way to either be sure of the encoding or enforce it up front, use it. If at all possible, look further up the chain for a way to do it correctly. Detection is incorrect, even if useful when there are no other options.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl detect utf8, iso-8859-1 encoding
by swiftlet (Acolyte) on Jul 25, 2020 at 00:14 UTC | |
by Your Mother (Archbishop) on Jul 25, 2020 at 00:23 UTC |