If the character encoding can be reliably extracted from the locale, open helps:
use open IO => ':locale';
But as tchrist said, you'll be happier with all-UTF-8 environments in the long run.
In reply to Re: Determine encoding of STDOUT
by moritz
in thread Determine encoding of STDOUT
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |