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
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