Home » HTML » HTML_QuickForm » Bug #12
HTML entities problem (I18N)
Details
| Submitted | 2003-09-15 16:23 UTC |
|---|---|
| From | j dot casal at ukc dot ac dot uk |
| Status | Wont fix |
| Package | HTML_QuickForm |
| PHP Version | 4.3.2 |
| OS | Solaris 8 |
| Roadmaps | (Not assigned) |
Comments
[2003-09-15 16:23 UTC] j dot casal at ukc dot ac dot uk
Description:
------------
Doing some XML/XSLT stuff with Sablotron and PHP, but I'm having problems with HTML output of a form after calling toHtml().
Form values will contain international characters, so I'm trying to applyFilter htmlentities() to the form object.
Apparently toHtml() does something to the code that returns the escape characters back to their original form (eg. é instead of é)
As a result this is making Sablotron choke and give errors as it can't parse these international characters.
I'm not sure whether the problem lies with HTML_QuickForm or HTML_Common, as I can see that the htmlentities() in the element renderer is part of HTML_Common.
Any help will be appreciated! Thanks for the excellent package! :-)