combing two var-modifiers generates wrong htmlentities
| From: | lukas.rueegg [pixworx multimedia] | Date: | Thu, 03 Jun 2004 16:27:11 +0000 |
| Subject: | combing two var-modifiers generates wrong htmlentities | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11425@lists.php.net to get a copy of this message | ||
if using the variable modifier 'escape' and 'upper', Smarty doesn't handle
the upper german umlaute correctly.
the following example:
$var = "a";
$var|upper|escape:"htmlall"
creates the following output:
ä
but this should be Ä
is this possibly a bug, does anyone has the same problem? or is this a
problem of some configuration options?
thanks and best regards
lukas.
--
_
_ __ (_)_ ____ _____ _ ____ __
| '_ \| \ \/ /\ \ /\ / / _ \| '__\ \/ /
| |_) | |> < \ V V / (_) | | > <
| .__/|_/_/\_\ \_/\_/ \___/|_| /_/\_\
|_| m u l t i m e d i a
lukas rueegg
http://pixworx.ch
[ A Supercomputer is a computer that runs an endless loop in two seconds. ]