in reply to Determine encoding of STDOUT

They call that locale, see perllocale