Bug #17008: htmlentities() doesn't encode em or en dash
| From: | flaimo at gmx dot net | Date: | Sun, 05 May 2002 03:10:20 +0000 |
| Subject: | Bug #17008: htmlentities() doesn't encode em or en dash | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6932@lists.php.net to get a copy of this message | ||
From: flaimo@gmx.net
Operating system: WinXP / Apache 1.3.24
PHP version: 4.2.0
PHP Bug Type: *General Issues
Bug description: htmlentities() doesn't encode em or en dash
if i'm not wrong this function is supposed to encode all those special
characters, right? well, em or en dashes are not encoded. the whole list
of characters that should be encoded can be found here:
http://selfhtml.teamone.de/html/referenz/zeichen.htm#benannte_interpunktion
it's in german, but i guess you can see what i mean.
--
Edit bug report at http://bugs.php.net/?id=17008&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17008&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17008&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17008&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17008&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17008&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17008&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17008&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17008&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17008&r=globals