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
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 & -- will actually end up as &amp;. That will be
> interpreted correctly in exactly the way that &oslash; is.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---