diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket660.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket660.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket660.php b/tests/FunctionalTests/tickets/protected/pages/Ticket660.php new file mode 100644 index 00000000..1f24f3cc --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket660.php @@ -0,0 +1,16 @@ +<?php +Prado::Using ('System.Web.UI.ActiveControls.*'); +class Ticket660 extends TPage { + + public function __construct() { + Prado::getApplication()->getGlobalization()->setCharset('ISO-8859-1'); + parent::__construct(); + } + + public function changeA($sender,$param) { + $iso_text=iconv('UTF-8', 'ISO-8859-1//IGNORE', 'ÄÖÜ äöü'); + $this->A->setText($this->T->getText() . $iso_text); + } + +} +?> |