htmlentities bug?

From: Date: Tue, 28 Oct 2003 13:06:33 +0000
Subject: htmlentities bug?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10451@lists.php.net to get a copy of this message
I've encountered a curious problem with htmlentities, someone's signed up with a username containing some strange characters, don't think they display properly in this email, but each character looks like: |- i rawurlencode the link to this guys user page, and the character encodes to %15 - but when i display the name|htmlentities mozilla gives a XML Parsing Error: not well-formed the doctype i'm sending is XHTML 1.0 Transitional, and we're trying to do everything in UTF-8 where possible <a href="/user/%15%15%15booooya%15%15%15"> booooya </a> that's the bit of html that causes problems, from here (for now): http://www.last.fm/user/reload surely htmlentities should turn the character into something that parses ok in mozilla.. anyone any suggestions? Regards, Richard.

« previous php.smarty.general (#10451) next »