http://www.perlmonks.org?node_id=621090


in reply to Re^2: A UTF8 round trip with MySQL
in thread A UTF8 round trip with MySQL

It seems at odds with the docs for the open function and perlopentut, both of which give examples using it

Ah, more documentation needs updates then! I'll look into it; thanks for the pointers.

binmode in perlfunc, in the current development tree, already has the following change:

-To mark FILEHANDLE as UTF-8, use C<:utf8>. +To mark FILEHANDLE as UTF-8, use C<:utf8>. This will fail on invalid +UTF-8 sequences; C<:encoding(UTF-8)> is a safer (but slightly less +efficient) choice.

Juerd # { site => 'juerd.nl', do_not_use => 'spamtrap', perl6_server => 'feather' }