#49136 [NEW]: encoding issues with events
| From: | janrei dot g at googlemail dot com | Date: | Sun, 02 Aug 2009 10:56:30 +0000 |
| Subject: | #49136 [NEW]: encoding issues with events | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-5582@lists.php.net to get a copy of this message | ||
From: janrei dot g at googlemail dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: encoding issues with events
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 bug report at http://bugs.php.net/?id=49136&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49136&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49136&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49136&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49136&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49136&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49136&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49136&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49136&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49136&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49136&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49136&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49136&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49136&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49136&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49136&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49136&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49136&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49136&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49136&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49136&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49136&r=mysqlcfg