PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Bug #3352

Missing charset definition for web-site

Details

Request #3352Missing charset definition for web-site
Submitted2005-02-01 19:12 UTC
Fromplyrvt at mail dot ru
Assignedmj
StatusClosed
PackageWeb Site
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2005-02-01 19:12 UTC] 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/).

[2005-02-08 21:38 UTC] 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-05-30 13:17 UTC] lists at norbert dot mocsnik dot hu

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.