Re: [SMARTY] html_options problem
| From: | messju mohr | Date: | Tue, 25 Mar 2003 13:36:52 +0000 |
| Subject: | Re: [SMARTY] html_options problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8886@lists.php.net to get a copy of this message | ||
On Tue, Mar 25, 2003 at 12:40:19PM +0000, Raul Carvalho wrote:
> Hello,
>
> I am trying to setup a select/option combo-box with values from a database.
> These values sometimes have portuguese characteres, like ã é õ ó etc...
>
> The problem is {html_options} is htmlencoding them in such a way that the browser cannot
> display them. For instance, the ã character should be converted to ã but instead it is
> being converted to ã
smarty_function_escape_special_chars() is designed to only escape
characters, that not have already been escaped.
are you sure your data is passed correctly to html_options ?
> It seems I cannot control this behaviour and so far the solution is to build the options
> manually...
>
> Can someone help me? Is this a bug?
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
E-Commerce: Verkauft etwas, das mit elektrischem Strom funktioniert. (modern
für Multimedia)
Andreas Krennmair