I found another way of decoding. Seems to be ok for now. Anyway thank
you very much for help!

On 30 Wrz, 16:56, masterix <[email protected]> wrote:
> What I'm trying to do is to decode utf8-encoded text. I found
> decodeURIComponent as a function to do this using JS. If these
> accented characters are encoded now. But if there is any HTML tag, IE7
> just fails and shows no markers. And it breaks on nonempty value of
> <text> node.
>
> The second problem I noticed is a bug under IE8.
>
> And I think it is maps related issue becase under FF it works fine -
> the same code.
>
> Maybe you have better experience with HTML and accented characters
> using maps? It would be great if you share it :)
>
> Regards,
> masterix
> On 30 Wrz, 13:06, Rossko <[email protected]> wrote:
>
> > > var text = decodeURIComponent( escape( GXml.value( markers
> > > [i].getElementsByTagName( "text" )[0] ) ) );
>
> > What are you trying to do with this, does this help?
> >    http://www.w3schools.com/jsref/jsref_decodeURIComponent.asp
> > Most of your <text> elements do not contain URLs, I don't know what
> > the function does with plain text.
> > Some of your <text> elements are empty, I don't know what the function
> > does with null inputs.
> > Most of your <text> elements contain accented characters that should
> > be encoded as UTF-8.
>
> > Not a maps question.
--~--~---------~--~----~------------~-------~--~----~
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