On Mon, Feb 02, 2004 at 04:51:16PM -0500, Glenn Maynard wrote: : On Mon, Feb 02, 2004 at 12:21:40PM -0800, Larry Wall wrote: : > locales for everyone willy nilly. So 5.8.1 backed off on that, with : > the result that you have to be a little more intentional about your : > input formats (or set the PERL_UNICODE environment variable). : : What's the normal way to say "use the locale, like every other Unix : program that processes text"? Setting PERL_UNICODE seems to make it : *always* use Unicode:
I believe "use open ':locale'" does that. : (It's a shame that Perl doesn't behave like everyone else and obey : locale settings correctly; I thought we were finally getting away : from having to tell each program individually to use UTF-8. I don't : understand the logic of "RedHat set the locale to UTF-8 prematurely, : so Perl shouldn't obey the locale".) Well, hey, I'm the one who agreed with you in the first place and asked that 5.8.0 be done that way, but apparently the current maintainers of Perl 5 got an excessive amount of grief from people whose production programs broke under RedHat. And I've been so far off in Perl 6 La La Land (aka "second system syndrome done right") that I let the Perl 5 folks make the decision to back that out. Larry -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
