Re: ampersand in dom with utf-8
| From: | cc | 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
è' and î' are not entities in charset utf-8, use
è' and î' 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ème
> fraî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
>
>