Re: Detecting malformed characters in files opened with '<:encoding(something)'

[email protected] (Darren Duncan) Sun, 03 Oct 2010 17:03:05 -0700
Newsgroups perl.unicode
Message-ID <[email protected]>
[email protected] wrote:
> Various places in the Perl docs say, with good and sufficient reason, that
> when reading a UTF-8 file, it should be opened '<:encoding(utf8)' rather than
> '<:utf8'.

Actually, what you want is ":encoding(UTF-8)" because that is more strict.

-- Darren Duncan