Re: ampersand in dom with utf-8

From: Date: Thu, 13 Oct 2005 06:24:45 +0000
Subject: Re: ampersand in dom with utf-8
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-224017@lists.php.net to get a copy of this message
both &egrave;' and &icirc;' are not entities in charset utf-8, use &amp;egrave;' and &amp;icirc;' instead. On 10/13/05, jonathan <news_php@arclocal.com> wrote: > I'm now getting this error: > > XML Parsing Error: undefined entity > > with the following entity at the first ampersand: > <item_name>farm lettuces with reed avocado, cr&egrave;me > fra&icirc;che, radish and cilantro</item_name> > > Why is an ampersand considered an undefined entity? The xml version > is: <?xml version="1.0"?> > > Any thoughts please? > > -jonathan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#224017) next »