use utf8; # expect UTF-8 text in this source code use open qw(:std :encoding(UTF-8)); # do UTF-8 encoding on I/O and STD*