Re: Re: ampersand in dom with utf-8

From: Date: Fri, 14 Oct 2005 22:27:16 +0000
Subject: Re: Re: ampersand in dom with utf-8
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-224166@lists.php.net to get a copy of this message
the real characters (presumably è) won't render correctly. it seems like there should be a set of functions for encoding this to a different but understandable format and then another function for decoding and display within a browser. it makes me not want to use DOM for creating xml files. -jonathan On Oct 13, 2005, at 1:53 AM, Marcus Bointon wrote:
On 13 Oct 2005, at 07:24, cc wrote:
both è' and î' are not entities in charset utf-8, use è' and î' instead.
I would expect that to result in unconverted entities in the output. If you're intending to send that content as HTML, then I guess that would be OK. However, if you're using UTF-8 anyway, why not just use the real characters? Marcus --Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#224166) next »