[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-general
Subject: Re: [SMARTY] htmlentities bug?
From: messju mohr <messju () lammfellpuschen ! de>
Date: 2003-10-28 16:05:04
[Download RAW message or body]
maybe you have to tell htmlentities the right charset to use.
On Tue, Oct 28, 2003 at 01:06:33PM +0000, Richard Jones wrote:
> 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.
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic