ID: 34437
Updated by: [email protected]
Reported By: bozhenov at gmail dot com
Status: Open
Bug Type: DocWeb problem
Operating System: WinXP
PHP Version: Irrelevant
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.