From: [EMAIL PROTECTED]
Operating system: any
PHP version: 4CVS-2002-12-12 (stable)
PHP Bug Type: Output Control
Bug description: lamba is spelled lambda
There is a typo in ext/standard/html.c. The greek letter lambda is spelled
lambda, not lamda. Currently, when php htmlentities() some string
containing that letter, the web browser will not be able to display it
properly.
Here's the diff:
*** html.c.buggy 2002-11-16 10:08:21.000000000 +0100
--- html.c 2002-12-12 15:23:59.000000000 +0100
***************
*** 130,136 ****
/* 938 - 944 are not mapped */
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
"alpha", "beta", "gamma", "delta", "epsilon", "zeta", "eta",
"theta",
! "iota", "kappa", "lamda", "mu", "nu", "x1", "omicron", "p1",
"rho",
"sigmaf", "sigma", "tau", "upsilon", "ph1", "ch1", "ps1",
"omega",
/* 970 - 976 are not mapped */
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
--- 130,136 ----
/* 938 - 944 are not mapped */
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
"alpha", "beta", "gamma", "delta", "epsilon", "zeta", "eta",
"theta",
! "iota", "kappa", "lambda", "mu", "nu", "x1", "omicron", "p1",
"rho",
"sigmaf", "sigma", "tau", "upsilon", "ph1", "ch1", "ps1",
"omega",
/* 970 - 976 are not mapped */
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
--
Edit bug report at http://bugs.php.net/?id=20956&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20956&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20956&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20956&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20956&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20956&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20956&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20956&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20956&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20956&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20956&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20956&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20956&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20956&r=isapi