From:  frank.brockmann@hs-bochum.de
Date:  20 Jan 2015 05:53:38 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #20489 [Opn]: Textareas with umlauts or other special chars are rendered empty

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=20489&edit=1

 ID:               20489
 Updated by:       frank.brockmann@hs-bochum.de
 Reported By:      frank dot brockmann at hs-bochum dot de
 Summary:          Textareas with umlauts or other special chars are
                    rendered empty
 Status:           Open
 Type:             Bug
 Package:          HTML_QuickForm
 Operating System: Kubuntu 14.04.1
 Package Version:  3.2.14
-PHP Version:      Irrelevant
+PHP Version:      >=5.4
 Roadmap Versions: 
 New Comment:

-PHP Version: Irrelevant
+PHP Version: >=5.4



Previous Comments:
------------------------------------------------------------------------

[2015-01-19 17:41:33] fhbo_fbw

Description:
------------
When creating text areas, default values containing umlauts or other
special chars force them to be rendered completely empty. 

Test script:
---------------
addElement('text', 't1', 'Text'); 
  $form->addElement('textarea','ta','Text area');
  $form->addElement('submit','sb','Submit form');

  $form->setDefaults(array("t1"=>"瓣繹羹�", "ta"=>"瓣繹羹�"));
  $form->display();
?>

Expected result:
----------------
text inputs and text area inputs showing 瓣繹羹� as initial value

Actual result:
--------------
only text inputs showing 瓣繹羹� as initial value

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20489&edit=1