If I use your "open" statement and run the script in an iso8859-1 terminal, i get the following:
which is clearly incorrect.karoshi:~>LC_CTYPE=de_DE.ISO-8859-1 ./u8demo.pl I read a line, that is 1 chars long. That line is: รถ That line in ascii is: o
In reply to Re^2: How to sanely handle unicode in perl?
by Sec
in thread How to sanely handle unicode in perl?
by Sec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |