* Nicholas Clark <[EMAIL PROTECTED]> [2008-02-24 11:55]: > However, it might be safe enough to invoke the testing Perl > with -CLS (set STDIN/STDOUT/STDERR to UTF-8 if the user's > locale has UTF-8 in it) which is probably going to be more > right more often than anything else. Not sure if -CLS only came > in with 5.8.1
Yes, it’s a 5.8.1 innovation. Unfortunately, you can neither pass that switch via the shebang line nor easily emulate its effect from within a script. (The L<open> incantation in my other mail is unconditional, in contrast to a `-C` switch with the `L` option. OTOH it will set the encoding to whatever the locale says; if that’s not in UTF-8, it will set it to whatever is appropriate.) Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>