On Sep 24, 2:34 pm, komsi <[EMAIL PROTECTED]> wrote:
> I have used $newnode->setAttribute("name",
> utf8_encode(utf8_encode($row['name'])));
> but now i get nothing here :http://www.micmus.dk/phpsqlajax_genxml.php

I get the message below:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Reference to undefined entity 'Atilde'. Error processing resource
'http://www.micmus.dk/phpsqlajax_genxml.php'. Line 1, Po...
<markers><marker name="Pan Africa Market" address="dfhgddgadfgagaga"
lat="47.608940" lng="-122.340141" type="restau...

>
> On 24 Sep., 23:10, "warden [Andrew Leach - Maps API Guru]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > On Sep 24, 10:03 pm, komsi <[EMAIL PROTECTED]> wrote:
>
> > > Yes i know, but how can i do that in my phpsqlajax_genxml.php
> > > file.. ??
>
> > If this encodes once:
> >   $newnode->setAttribute("name", utf8_encode($row['name']));
> > this encodes twice:
> >   $newnode->setAttribute("name",
> > utf8_encode(utf8_encode($row['name'])));
>
> > Doing that will mean that a character like & -- which needs to be
> > encoded as &amp; -- will actually end up as &amp;amp;. That will be
> > interpreted correctly in exactly the way that &amp;oslash; is.
>
> > Andrew- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to