in reply to ucfirst doesn't work if first character of word a special finnish character
use Encode qw/encode decode/; my @strings = ("\xe4ll your chars","\xe5re belong to", "\xf6s"); $_ = encode("iso-8859-15", ucfirst(decode("iso-8859-15",$_))) for @str +ings;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ucfirst doesn't work if first character of word a special finnish character
by Burak (Chaplain) on Oct 03, 2006 at 19:14 UTC |