in reply to Re: ucfirst doesn't work if first character of word a special finnish character
in thread ucfirst doesn't work if first character of word a special finnish character
Hi!
I tried with this, but still it doesn't work.
----------
use locale; use POSIX qw(locale_h); setlocale(LC_CTYPE, 'fi_FI'); setlocale(LC_COLLATE, 'fi_FI'); print ucfirst "äbcdef";
-----------
But it prints "-bcdef" i.e "ä" is not being printed correctly.
Do I need to do anything else?
Thanks.
Edited by planetscape - added code tags and rudimentary formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: ucfirst doesn't work if first character of word a special finnish character
by Mutant (Priest) on Oct 03, 2006 at 12:45 UTC | |
by asfar (Novice) on Oct 03, 2006 at 12:46 UTC | |
by Mutant (Priest) on Oct 03, 2006 at 13:01 UTC |