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.
  • Comment on Re^2: ucfirst doesn't work if first character of word a special finnish character

Replies are listed 'Best First'.
Re^3: ucfirst doesn't work if first character of word a special finnish character
by asfar (Novice) on Oct 03, 2006 at 12:48 UTC
    Hi! Yes, I am directly printing it to STDOUT. Can't I do that? Thanks,