Gossamer Forum
Home : General : Perl Programming :

ucfirst with acute character?

Quote Reply
ucfirst with acute character?
Hi,

I thought it were easy in perl but not. I want the $var="CRÉDIT" to be print out as "Crédit". So I use the command ucfirst(lc($var)); but the result is "CrÉdit".

Is there any settings before the command so that this function can work as expectedly?

Thanks!

Cheers,

Dat

Programming and creating plugins and templates
Blog
Subject Author Views Date
Thread ucfirst with acute character? tandat 3893 Sep 21, 2005, 6:54 PM
Thread Re: [tandat] ucfirst with acute character?
Andy 3754 Sep 22, 2005, 12:21 AM
Post Re: [Andy] ucfirst with acute character?
tandat 3740 Sep 22, 2005, 12:31 AM