note 31215 deleted from function.strtolower by nlopess

From: Date: Fri, 18 Nov 2005 19:26:10 +0000
Subject: note 31215 deleted from function.strtolower by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-98773@lists.php.net to get a copy of this message
Note Submitter: visualmind at php dot net ---- Regarding the note above from info at saudiabm dot com: Using strtolower or strtoupper to convert non-ascii charachters like Arabic and etc requires setlocale LC_CTYPE first http://www.php.net/setlocale echo strtolower('åÐå ÇáÚÈÇÑÉ ÓÊÙåÑ ÈÔßá ÛíÑ ÕÍíÍ'); // this will look messy setlocale(LC_CTYPE, 'ar_SA'); // Using arabic Saudi char set echo strtolower('åÐå ÇáÚÈÇÑÉ ÔÊÙåÑ ÈÔßá ÕÍíÍ'); // this will look fine on windows you can use setlocale(LC_CTYPE, 'arabic');

« previous php.notes (#98773) next »