note 34491 deleted from function.strtoupper by didou

From: Date: Tue, 29 Jul 2003 07:32:49 +0000
Subject: note 34491 deleted from function.strtoupper by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52881@lists.php.net to get a copy of this message
Note Submitter: zolinak@freemail.hu ---- Converting Hungarian ( as Central-European ) caracters: to uppercase: echo( strtoupper(strtr($txt,"íéáûõúöüó","ÍÉÁÛÕÚÖÜÓ")) ); to lowercase: echo( strtolower(strtr($txt,"íéáûõúöüó","ÍÉÁÛÕÚÖÜÓ")) ); where $txt is the text to be converted and printed. The characterlist parameters of strstr function are extendable. However the setlocale (LC_ALL, 'hu_HU') could be nice. ...Could be. ;-)

« previous php.notes (#52881) next »