in reply to different utf8 method = different behaviour?
:utf8 and :encoding(UTF-8) do indeed different things - the former does less strict checking, which is why the latter is recommended. See also: UTF8 related proof of concept exploit released at T-DOSE.
Update: to encourage the better practice of using :encoding(UTF-8) by default, the perl 5 porters have changed the core documentation in nearly every place - except where :utf8 itself is explained.
|
|---|