in reply to Re: Determine encoding of STDOUT
in thread Determine encoding of STDOUT

It seems that the character encoding cannot be extracted from locale because I get the following error message:

Cannot figure out an encoding to use at test.pl line 9

Replies are listed 'Best First'.
Re^3: Determine encoding of STDOUT
by moritz (Cardinal) on May 04, 2011 at 15:55 UTC

    So you need some other mechanism for signaling encoding. For example have the user provide some environment variables if the encoding is different than UTF-8.