Req #51623 [NEW]: Upgrade utf8_enc/decode to Windows-1252
| From: | nicolas dot grekas+php at gmail dot com | Date: | Wed, 21 Apr 2010 11:47:22 +0000 |
| Subject: | Req #51623 [NEW]: Upgrade utf8_enc/decode to Windows-1252 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-149746@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Unknown/Other Function
Bug Type: Feature/Change Request
Bug description:Upgrade utf8_enc/decode to Windows-1252
Description:
------------
utf8_enc/decode enc/decodes an ISO-8859-1 string to UTF-8 and vice versa
I think it would be a good improvement to use Windows-1252 instead of
ISO-8859-1
Windows-1252 is a superset of ISO-8859-1, which only adds some glyphs to
unused ISO-8859-1 code point.
Added to the fact that Windows-1252 is a de facto world wide standard, that
HTML5 is standardizing on UTF-8/Windows-1252 "even if ISO-8859-1 it stated
in the document".
That would also fix a lot of scripts on the web, where we see some <92>
"characters" instead of â (opening single quote, or apostrophe) for
example
--
Edit bug report at http://bugs.php.net/bug.php?id=51623&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51623&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51623&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51623&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51623&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51623&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51623&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51623&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51623&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51623&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51623&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51623&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51623&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51623&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51623&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51623&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51623&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51623&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51623&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51623&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51623&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51623&r=mysqlcfg