php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35947 php.net insists on being UTF-8 when it isn't!
Submitted: 2006-01-09 16:30 UTC Modified: 2007-04-04 13:04 UTC
From: php at mytrashmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at mytrashmail dot com
New email:
PHP Version: OS:

 

 [2006-01-09 16:30 UTC] php at mytrashmail dot com
Description:
------------
It is really annoying to enter php.net as it tells my browser to use UTF-8 encoding, but when it auto-redirects me to a version in my languge, that language uses a local encoding so I have to switch to it manually - each time I enter a page in php.net!

Expected result:
----------------
Don't just fake UTF-8, but actually encode your content to it.

Actual result:
--------------
A lot of Gibberish.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-09 16:32 UTC] php at mytrashmail dot com
I assume there aren't a lot of complaints about it as obviously it doesn't effect English users. Even in fake UTF-8 mode, they still see English letters.
 [2006-01-09 16:39 UTC] goba@php.net
What language are you trying to view? We are supposed to actually use UTF-8 for all languages.
 [2006-01-09 17:28 UTC] php at mytrashmail dot com
Hebrew - and I'm not trying to view it on purpose. It's your site that forces me to see everything that has a Hebrew version in Hebrew (by redirecting me il.php.net).

Hmm, strangely currently the pages in il.php.net are all in English. Did you do something?
 [2006-01-09 18:23 UTC] derick@php.net
The hebrew translation doesn't build for years now, so we can't update it to use UTF8. When the hebrew team fixes this the problem will be gone.
 [2006-01-09 18:47 UTC] php at mytrashmail dot com
If you keep your contents in MySQL, all you have to do is export the files, encode them to UTF-8 and re-import them.

And how come I don't see Hebrew anymore after being re-directed?
 [2006-01-09 19:13 UTC] goba@php.net
The php site remembers the last language you have used. Otherwsie it would be a pain to get to manual pages without the handy shortcuts. Once you switch to English, you are going to get English pages. See php.net/my for details and settings.
 [2006-01-10 13:19 UTC] php at mytrashmail dot com
You're right. I've had to enable cookies for php.net in order to report a bug and somehow English was the default value in the cookie.

I guess it's better surfing php.net with the cookie. Beinh set to English, I'm still being redirected, but I don't have to manually change the encoding each time.

Anyway, what about the MySQL suggestion?
 [2006-01-13 11:56 UTC] vrana@php.net
Hebrew team knows about this issue. If you want to help them, contact doc-he@lists.php.net.
 [2007-04-04 13:04 UTC] php at mytrashmail dot com
Just fixed a misspelling in the title of this bug. Why do I have to add a comment when I edit the submission?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 01:01:35 2025 UTC