in reply to use locale behavior depends on charset of locale?

Check
print join( ':', PerlIO::get_layers(STDIN)), "\n";