http://qs321.pair.com?node_id=1120765


in reply to Re^2: How to sanely handle unicode in perl?
in thread How to sanely handle unicode in perl?

You took the locale bit out, right? Both examples from choroba and me/tchrist work in my UTF-8 terminal.

moo@cow~>echo $LC_CTYPE
utf-8
moo@cow~>perl ~/pm-eg
I read a line, that is 1 chars long.
That line is: ö
That line in ascii is: o

Update: this works the same for me as well: setenv LC_CTYPE de_DE.UTF-8