This decorator replaces special chars with the matching html entities. You can set the charset to use (the default being 'ISO-8859-1'):
$tr = new Translation2($driver, $dbinfo, $params);
$tr =& $tr->getDecorator('SpecialChars');
$tr->setOption('charset', 'UTF-8'); |
| Пред. | Начало | След. |
| Class Summary Translation2_Decorator_Iconv | Уровень выше | Class Summary Translation2_Decorator_UTF8 |