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

From: Date: Wed, 05 Sep 2001 10:54:53 +0000
Subject: Re: German "Umlaute": Solution - new function for addons-library
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1434@lists.php.net to get a copy of this message
So sprach »Hans-Peter Oeri« am 2001-09-05 um 11:08:40 +0200 : > 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! Besides that I suggested that myself, htmlentities does more than his "german" function. His function will leave tags intact, so, suppose you allow user input of html tags, and you want that the html tags are parsed as html, htmlentities breaks the string. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 2 days 3 hours 53 minutes

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