perl-unicode

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

2010-10-03 19:03:14
harryfmudd(_at_)comcast(_dot_)net 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

<Prev in Thread] Current Thread [Next in Thread>