Character encodings in Perl