in reply to Re^2: Why does perl's internal utf8 seem to allow single-byte latin1?
in thread Why does perl's internal utf8 seem to allow single-byte latin1?

Using "export PERL_UNICODE=SAD" or "export PERL_UNICODE=IE" switches the behavior of the script.

Not they don't. You don't use @ARGV, you don't use STD* for anything but 7-bit chars, and you don't open any file handles. They have no effect whatsoever.

Again, what are you trying to do? Whatever it is, you seem to be taking the worst possible approach.

  • Comment on Re^3: Why does perl's internal utf8 seem to allow single-byte latin1?