#49136 [Opn->Csd]: encoding issues with events
| From: | bjori@php.net | Date: | Wed, 04 Nov 2009 22:05:29 +0000 |
| Subject: | #49136 [Opn->Csd]: encoding issues with events | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-6360@lists.php.net to get a copy of this message | ||
ID: 49136
Updated by: bjori@php.net
Reported By: janrei dot g at googlemail dot com
-Status: Open
+Status: Closed
Bug Type: Website problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.
Nice catch & thanks for the patch.
I also manually changed the encoding in event#1198.
We currently do not detect the encoding submitted, and I think we
blindly assume its utf8...
Previous Comments:
------------------------------------------------------------------------
[2009-08-02 10:56:30] janrei dot g at googlemail dot com
Description:
------------
There are some encoding problems with the events listed on php.net.
1) Wrong title like here:
http://www.php.net/cal.php?id=153&cm=08&cy=2009
The function display_event in include/layout.inc doesn't tell
htmlspecialchars to use UTF-8. You can find a proposed patch here:
http://jansspielwiese.pytalhost.de/php/layout.inc.diff
It should also correct the handling of URLs in case someone wants to
use special characters in them.
2) Wrong description like here:
http://www.php.net/cal.php?id=1198&cm=08&cy=2009
This seems to be caused by messed up encodings in the descriptions in
events.csv. Sometimes the descriptions are correctly stored in UTF-8 and
sometimes they are not. However, I didn't find the exact source of the
problem.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49136&edit=1