Req #3352 [Com]: Missing charset definition for web-site
| From: | lists at norbert dot mocsnik dot hu | Date: | Mon, 30 May 2005 13:17:55 +0000 |
| Subject: | Req #3352 [Com]: Missing charset definition for web-site | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-4106@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=3352&edit=1
ID: 3352
Comment by: lists at norbert dot mocsnik dot hu
Reported By: plyrvt at mail dot ru
Status: Open
Type: Feature/Change Request
Package: Web Site
PHP Version: Irrelevant
New Comment:
The Hungarian version needs iso-8559-2, now it is <?xml version="1.0"
encoding="iso-8859-1" ?>.
This results in wrong characters like the word on the right of the
"(Next)" link on the main page, html entity #245 is displayed instead
of the character itself @ http://pear.php.net/manual/hu/
Here is the server response (wget -S output):
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Mon, 30 May 2005 13:15:47 GMT
Server: Apache/1.3.33 (Unix) PHP/4.3.11
Cache-Control: max-age=18000
Expires: Mon, 30 May 2005 18:15:47 GMT
X-Powered-By: PHP/4.3.11
Connection: close
Content-Type: text/html
Length: unspecified [text/html]
It contains no encoding information so it must be the <?xml ?>
iso-8859-1 stuff at the top that causes the problems. Could you please
change it to iso-8859-2 for .hu?
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2005-02-08 16:38:43] plyrvt at mail dot ru
I've checked with IE6sp1 (including MyIE) and Opera 7.53
Gecko-browsers work fine. Opera works fine if "Cyrillic - Automatic
detection" is enabled (not default setting) and by default it worka in
version Opera8beta
Didn't check under *nix browsers.
------------------------------------------------------------------------
[2005-02-07 18:45:09] helgi at trance dot is
We pass <?xml version="1.0" encoding="KOI8-R" ?> to the browser, I for
example can view it just fine really ...
I'd think any modern browser detects that just fine, if not then point
me to which and I'll think about adding that meta mess :)
------------------------------------------------------------------------
[2005-02-01 14:12:40] plyrvt at mail dot ru
Description:
------------
http://pear.php.net/manual/ section has missing charset
"Content-type: text/html; charset=page_charset"
in server reply headers and pages has no
<meta http-equiv="Content-Type" content="text/html;
charset=page_charset">
So, if browser has no autodetection capabilities enabled (based on
lexic analysys) some language-specific versions of manual will not be
shown properly and require user to set charset manually (Particularly
http://pear.php.net/manual/ru/).
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=3352&edit=1