A blank page shows when browsing some doc files in MS IE
| From: | Haohappy | Date: | Mon, 22 Dec 2008 03:47:39 +0000 |
| Subject: | A blank page shows when browsing some doc files in MS IE | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969379850@lists.php.net to get a copy of this message | ||
Hello,
I used the PhD to generate html docs, but I got a blank page when I browsed
some pages in Microsoft IE.
It seemed the IE can't recognize the UTF-8 charset. So I look into the
source of the html file:
<title>类与对象(PHP 4)</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
These two lines of code work well in Firefox, Safari. But in IE, it should
be changed to:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>类与对象(PHP 4)</title>
We need to put the <meta> before <title>, or the IE may not be able to
recognize the right charset.
Is there anyone help me resolve this problem? I don't know where is the
'template' of our PHP-doc files.
The commands I used:
php configure.php --with-lang=zh --enable-chm
/home/www/php/bin/phd -d .manual.xml -L zh
The html files were generated in the directory 'phpdoc-zh/chm/res' .
Thanks in advance.
--
Hao Chen
Beijing, China