Re: Urgent: Special Characters

From: Date: Fri, 12 Jan 2001 12:21:05 +0000
Subject: Re: Urgent: Special Characters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34237@lists.php.net to get a copy of this message
IIRC the conversion rules are locale specific. use setlocale() to set appropriate environment. At 13:01 12.1. 2001, TV Karthick Kumar wrote the following: -------------------------------------------------------------- >Hi all, > > I have a problem while converting the string into upper case by using >the strtoupper function. > > I want to convert the string which has some special characters in it. >For example, med vänlig hälsning, António etc. There are lots of strings / >words with some special characters in it. It cannot be listed. > > As I want to convert them into upper case, I tried. >strtoupper(hälsning), it's just converting it as: HäLSNING and then writes >onto the database. But I want that special character - ' ä ' also to be >converted into upper case and then onto the database. How do I get rid of >this problem and convert into upper case ?. > > PLS. HELP ME. > > Thanks in advance. > >~ Karthick > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz

« previous php.general (#34237) next »