Jarkko Hietaniemi <jhi(_at_)iki(_dot_)fi> writes:
I started doing this at one point by making Perl to understand the
langinfo(CODESET) thingy (I18N::Langinfo), but at some point I was
somewhat disheartened by the sucky support of langinfo() across the
platforms and walked away in disgust.
Can we Configure test for working langinfo(CODESET), and if good enough
make :locale the default - which I think is what Larry's wish means?
However, one can even currently (in 5.7.3) say use open ':locale' and
if your langinfo() returns something matching /utf-?8/i you will get
automagic utf8-fication on your I/O (Not on your STDIN and OUT,
though). At least, that was the theory and plan.
What is the issue with doing it for STDIN..STDERR ?
One should be able to binmode them when we have established what
the layer(s) should be?
--
Nick Ing-Simmons
http://www.ni-s.u-net.com/