ReiVo has asked for the wisdom of the Perl Monks concerning the following question:
Hi to all,
I am having lot of trouble in analyzing a piece of text in
Polish. I want to read all words of a text, and count them.
OK, what you normally do is to set up pattern matching
using something like \w. That does not work, it leaves the
special Polish letters kind of the strange l and friends out.
Next approach,
use POSIX qw(locale_h) ;
setlocale(LC_ALL,"Polish_Poland") or die "Could not set locale";
that runs, does not complain, but, same effect as before.
I am running the activestate distro un WinXP.
Thx a lot for every hint
Reinhard
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Polish Characters
by Corion (Patriarch) on May 20, 2010 at 14:42 UTC | |
Re: Polish Characters
by moritz (Cardinal) on May 20, 2010 at 15:15 UTC | |
Re: Polish Characters
by almut (Canon) on May 20, 2010 at 15:05 UTC | |
Re: Polish Characters
by zby (Vicar) on May 21, 2010 at 10:13 UTC |