note 27383 deleted from function.strtoupper by derick

From: Date: Tue, 30 Aug 2005 11:06:17 +0000
Subject: note 27383 deleted from function.strtoupper by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-94392@lists.php.net to get a copy of this message
Note Submitter: metallica at zoznam dot sk ---- To Czech and Slovak programmers using Central Europe character sets Windows-1250 or ISO-8859-2: If you're authoring the scripts on Windows and hosting zour site on a Linux based server, you might see unsatisfying results using functions strtoupper() and strtolower(). You can use these two functions instead: function cs_strtoupper($my_string) { return strtr( strtoupper($my_string), "áèïéìí¾åòóôàøšúùýž", "ÁÈÏÉÌͼÅÒÓÔÀ؊ÚÙݎ" ); } function cs_strtolower($my_string) { return strtr( strtolower($my_string), "ÁÈÏÉÌͼÅÒÓÔÀ؊ÚÙݎ", "áèïéìí¾åòóôàøšúùýž" ); }

« previous php.notes (#94392) next »