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

There may be a shortcut :) You can save the source file with UTF-8 Encoding (Notepad in Win XP can do this) and then load utf8:
use utf8; print ucfirst "äbcdef";
And if you can save the source file with a BOM (I'm not sure about Notepad, but Komodo can do this) I think that utf8 pragma will became useless and any unicode character can be used without any extra effort (with Perl 5.8+)
  • Comment on Re^2: ucfirst doesn't work if first character of word a special finnish character
  • Download Code