PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #12

HTML entities problem (I18N)

Details

Submitted2003-09-15 16:23 UTC
Fromj dot casal at ukc dot ac dot uk
StatusWont fix
PackageHTML_QuickForm
PHP Version4.3.2
OSSolaris 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! :-)