All right...
I want to use locales under Win2k. I've tried just setting the locales with use locale; This gives me extra characters, which are NOT polish ones (which I need). Specifying the standard with setlocale(LC_CTYPE, "pl"); ..didn't work...
MAN gives the url: ftp://dkuug.dk/i18n/WG15-collection There's a collection of locale definition files, but I have no idea how to merge one into Windows. I need locales to properly sort(), s/// and cmp.

the test:   use locale; $a="Pérl"; $b = uc($a); print $b; ...returns:PéRL

the test2:

for ($x = 0;$x < 255;$x++){ $_ = chr($x); if (/\w/){ print "$_ ";} }

This one will print You all known word characters... when You've got the PL locale, you should be getting also '³ ó œ æ Ÿ ¿ ñ'

Mbr> Thanks!

Edit 2001-03-26 by tye remove <pre>


In reply to Re: (tye)Re: LOCALE on non-posix compliant systems (Win32) ? by joustin
in thread LOCALE on non-posix compliant systems (Win32) ? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.