3 # Strip off utf8 encoding that was spuriously applied to a string of
4 # 8-bit bytes. Note: This may be totally bogus. If you get any "Wide
5 # character in print" messages, then the input was not a string of
6 # 8-bit bytes that had utf8 encoding applied to it -- the message
7 # means that utf8 decoding produced some characters > 0xff.
9 binmode STDIN, ':encoding(UTF-8)';
10 binmode STDOUT, ':raw';