From: Reini U. <ru...@x-...> - 2006-08-15 11:47:28
|
Mici Maci schrieb: > Hi, >> of course we accept any workaround function. > You're welcome to rename it! :) > <?php function htmlspecialchars_workaround($str, $quote = Ok. Now how to handle this best? We need this only on certain charsets, which php upstream doesn't support, because they prefer utf-8. And we need it only for htmlspecialchars. rurban@reini /usr/src/php/phpwiki-dev/phpwiki $ grep -Rl htmlspecialchars . ./configurator.php ./lib/nusoap/nusoap.php ./lib/plugin/TexToPng.php ./lib/WikiDB/adodb/adodb-lib.inc.php ./lib/WikiDB/adodb/adodb.inc.php ./lib/WikiDB/adodb/drivers/adodb-csv.inc.php ./lib/WikiDB/backend/file.php ./lib/WikiDB/backend/flatfile.php ./lib/WikiPluginCached.php ./lib/XmlElement.php ./lib/XMLRPC/xmlrpc.inc ./lib/XmlRpcServer.php rurban@reini /usr/src/php/phpwiki-dev/phpwiki $ grep -Rl htmlentities . ./configurator.php ./doc/README.foaf ./lib/HttpClient.php ./lib/pear/DB/storage.php ./lib/plugin/ModeratedPage.php ./lib/plugin/WikiFormRich.php ./lib/XMLRPC/xmlrpc.inc ./passencrypt.php ./themes/default/templates/login.tmpl ./themes/default/templates/online.tmpl So we have some external libs also. We also could simply catch the warning and omit it. It's only the stupid warning, isn't it, or is there functionality missing also? And there're a lot of unsupported charsets. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |