Help for this page
use Encode; ... # assuming that STDOUT is set to utf8 mode, you can now safely print "$output2\n";