in reply to Re: Forcing UTF-8 output on STDOUT
in thread Forcing UTF-8 output on STDOUT

The following would also do the trick:

use open ':std', ':encoding(UTF-8)';

It adds the encoding layer to STDIN, STDOUT and STDERR, it does so at compile time, and it sets the default encoding for open in scope.

Seeking work! You can reach me at ikegami@adaelis.com