Re: [SMARTY] combing two var-modifiers generates wrong htmlentities

From: Date: Thu, 03 Jun 2004 16:36:04 +0000
Subject: Re: [SMARTY] combing two var-modifiers generates wrong htmlentities
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11426@lists.php.net to get a copy of this message
On Thu, Jun 03, 2004 at 06:27:11PM +0200, lukas.rueegg [pixworx multimedia] wrote: > 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. this behaviour depends on your locale-settings. see: http://php.net/manual/en/function.setlocale.php

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