mj Mon May 30 10:31:18 2005 EDT
Modified files:
/pearweb/include pear-format-html.php
Log:
* The Hungarian translation of the manual needs the ISO-8859-2 charset to
function properly.
Bug report: #3352
http://cvs.php.net/diff.php/pearweb/include/pear-format-html.php?r1=1.164&r2=1.165&ty=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.164
pearweb/include/pear-format-html.php:1.165
--- pearweb/include/pear-format-html.php:1.164 Tue May 10 12:41:17 2005
+++ pearweb/include/pear-format-html.php Mon May 30 10:31:18 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.164 2005/05/10 16:41:17 dufuz Exp $
+ $Id: pear-format-html.php,v 1.165 2005/05/30 14:31:18 mj Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -39,6 +39,8 @@
// The Russian manual translation needs KOI8-R encoding
} else if (preg_match("=^/manual/ru=", $self)) {
$encoding = 'KOI8-R';
+ } else if (preg_match("=^/manual/hu=", $self)) {
+ $encoding = 'iso-8859-2';
}
}
|