Re: German "Umlaute": Solution - new function for addons-library

From: Date: Wed, 05 Sep 2001 09:08:40 +0000
Subject: Re: German "Umlaute": Solution - new function for addons-library
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1432@lists.php.net to get a copy of this message
Hi! Quoting email.1@gmx.net: > $string = ereg_replace ('Ä','Ä',$string); Please do NOT use regular expression functions if you don't use regular expressions! The string replacement functions are MUCH faster, as a little test case will prove you. However, in this case you could use the builtin PHP function "htmlentities", which does all (not only german) replacements for you and, as it's only one PHP call, is even faster than manual replacements! Don't conform! IkKampfCaspar75

« previous php.smarty.general (#1432) next »