#34437 [Opn->Bgs]: Wrong encoding in HTTP headers for russian version
| From: | tony2001@php.net | Date: | Fri, 09 Sep 2005 11:14:55 +0000 |
| Subject: | #34437 [Opn->Bgs]: Wrong encoding in HTTP headers for russian version | ||
| References: | 1 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-831@lists.php.net to get a copy of this message | ||
ID: 34437
Updated by: tony2001@php.net
Reported By: bozhenov at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: DocWeb problem
Operating System: WinXP
PHP Version: Irrelevant
New Comment:
Yes, it's rather old problem of this mirror.
Previous Comments:
------------------------------------------------------------------------
[2005-09-09 12:08:16] techtonik@php.net
Seems like it is server setup problem - not PHPDOC. Check this page -
it should be ok.
http://www.php.net/manual/ru/function.fopen.php
------------------------------------------------------------------------
[2005-09-09 09:09:40] bozhenov at gmail dot com
Description:
------------
The web server sends
Content-Type: text/html; charset=windows-1251
in headers when browsing russian translation of php docs, but in fact
they are in UTF-8. So you need manually change encoding on every page
you visit.
This is the opposite to bug #32166 - there was a complain about utf-8
in header but win-1251 in html.
Reproduce code:
---------------
Open
http://ru.php.net/manual/ru/function.fopen.php
Expected result:
----------------
The content of the page is sent in UTF-8 format, so the header should
be
Content-Type: text/html; charset=UTF-8
Actual result:
--------------
Server sends wrong header (charset=windows-1251), so the browser is
confused and you need to manually switch to UTF-8 encoding in browser
menu.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34437&edit=1