From: andy at demos dot su Operating system: FreeBSD PHP version: 5.2.5 PHP Bug Type: Recode related Bug description: koi8r missed in php_unescape_html_entities()
Description: ------------ In php_unescape_html_entities() function (ext/standard/html.c) one forgot about koi8-r encoding: --- html.c.orig Wed Oct 3 08:53:05 2007 +++ html.c Thu Jan 24 17:44:11 2008 @@ -954,6 +954,7 @@ case cs_cp1251: case cs_8859_5: case cs_cp866: + case cs_koi8r: replacement[0] = k; replacement[1] = '\0'; replacement_len = 1; -- Edit bug report at http://bugs.php.net/?id=43927&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43927&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43927&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43927&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43927&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43927&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43927&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43927&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43927&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43927&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43927&r=support Expected behavior: http://bugs.php.net/fix.php?id=43927&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43927&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43927&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43927&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43927&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43927&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43927&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43927&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43927&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43927&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43927&r=mysqlcfg
