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?
my $bytes = '...';
How do I ensure that $bytes are bytes, not characters? I'm on Microsoft Windows and the text files are in the DOS format (i.e., CR-LF newlines) In other words, what I/O layer must I use? '<:raw'?
Jim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What's the best way to detect character encodings, Windows-1252 v. UTF-8?
by ikegami (Patriarch) on Jun 17, 2011 at 16:14 UTC | |
by Jim (Curate) on Jun 17, 2011 at 16:38 UTC | |
by ikegami (Patriarch) on Jun 17, 2011 at 18:55 UTC |