cvs: phpdoc /chm make_chm.php

From: Date: Mon, 28 Apr 2003 20:56:23 +0000
Subject: cvs: phpdoc /chm make_chm.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352940@lists.php.net to get a copy of this message
moriyoshi Mon Apr 28 16:56:23 2003 EDT Modified files: /phpdoc/chm make_chm.php Log: Force iconv to do the conversion between incompatible encodings. # fixes Japanese chm doc build. This doesn't affect any other builds. Index: phpdoc/chm/make_chm.php diff -u phpdoc/chm/make_chm.php:1.16 phpdoc/chm/make_chm.php:1.17 --- phpdoc/chm/make_chm.php:1.16 Mon Dec 30 06:14:10 2002 +++ phpdoc/chm/make_chm.php Mon Apr 28 16:56:23 2003 @@ -388,7 +388,7 @@ if ($charset != $INTERNAL_CHARSET) { if (function_exists("iconv")) { - $buf = iconv($INTERNAL_CHARSET, $charset, $buf); + $buf = iconv($INTERNAL_CHARSET, "$charset//TRANSLIT", $buf); } elseif (function_exists("mb_convert_encoding")) { $buf = mb_convert_encoding($buf, $charset, $INTERNAL_CHARSET); } elseif (preg_match("/^UTF-?8$/i", $INTERNAL_CHARSET) && preg_match("/^(ISO-8859-1|WINDOWS-1252)$/i", $charset)) {

« previous php.doc (#969352940) next »