in reply to Re: ISO 8859-1 characters and \w \b etc.
in thread ISO 8859-1 characters and \w \b etc.

Thanks. Truth to say I have looked at perldoc perllocale several times and not got any wiser, I'm afraid.

I guess what I'm really looking for is a plain English description of how to get and set locales. The workaround of using numerals instead of letters only gets you so far...

/Melroch

  • Comment on Re^2: ISO 8859-1 characters and \w \b etc.

Replies are listed 'Best First'.
Re^3: ISO 8859-1 characters and \w \b etc.
by Joost (Canon) on Jun 27, 2004 at 18:24 UTC
    See the ENVIRONMENT secion in perllocale, and maybe your local manpage for "locale". You might have to install extra locales you want to use (my system only has the "C" and "POSIX" locales, apparently). Basically you can set a couple of environment variables, and that will determine the locale your perl program will run under. Which locales are supported is system-dependent, I can see mine using "locale -a".

    Hope this helps,
    Joost.