in reply to Locale Woes...
use locale; use POSIX qw(locale_h); setlocale(LC_COLLATE,"de_DE") or die "foo? - $!\n"; print "yup" if "fähler"=~/^\w+$/; __END__ yup
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Locale Woes...
by andreas1234567 (Vicar) on Jun 04, 2007 at 13:13 UTC |