in reply to Re: (tye)Re: LOCALE on non-posix compliant systems (Win32) ?
in thread LOCALE on non-posix compliant systems (Win32) ?

Two trains of thought :

OS goodies

First off, I'd make sure you've got a locale.inf file in %windir%\inf directory. This is the definition file for locales.
Then verify that your language is set to Polish in the Regional Settings control panel.

Perl Goodies

perl -V:d_setlocale should return "define".</code>This means that perl thinks it can handle locales. If this doesn't return define, ain't nothing gonna work
try using the locales ISO-8859-4 or ISO-8859-2 instead of pl in setlocale. These are Baltic and Central European charsets, respectively. There's 7 or so environment variables you can set if setlocale doesn't seem to work: if this still doesn't work, perl should emit some error telling you that the locale is bad, or some other bad thing is occurring. Good luck!
Update Don't change locales when running scripts in Excel, or you'll mess up any currency values :(. I take it that this Z3 thing is for Zloty??

Replies are listed 'Best First'.
Re: (boo) Setting up locales on win32.
by joustin (Initiate) on Mar 27, 2001 at 17:34 UTC
    1
    There's no locale.inf file on my disk(s) :(
    My locale settings in CP are set properly ..

    The perl -V:d_setlocale returned defined...

    2
    Changing env's did nothing :((
    Tried specifying the codepage will full name, that is: "pl_PL.ISO8859-2"

    Zloty should be ''złoty"... thx anyways :\

      I noticed by accident yesterday that through ppm you can install Locale-Codes. I don't know what is in that package, but it certainly looks relevant...
        Nope.. it's a package for converting two-letter abbrievations for country names and some other stuff...