Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.2.16

Bug #496 setDefaults with callback processes special characters wrongly
Submitted: 2003-12-26 01:43 UTC
From: aidan at virtualexplorer dot com dot au Assigned:
Status: Bogus Package: HTML_QuickForm
PHP Version: Irrelevant OS: n/a
Roadmaps: (Not assigned)    
Subscription  


 [2003-12-26 01:43 UTC] aidan at virtualexplorer dot com dot au
Description: ------------ HTML_QuickForm::setDefaults with a htmlentities callback function will result in special characters being converted twice! For example: $form->setDefaults($result[0], 'htmlentities'); Letters such as special n (n with a tilde), or any other international characters are first converted using the callback function to their ascii names, ñ, and when outputted, again converted to &ñ If the data is called without using a callback function, the letters are not converted at all, and causes problems in displaying the form.

Comments

 [2003-12-26 08:57 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!