ermancanitatli / geoxml3

Automatically exported from code.google.com/p/geoxml3
0 stars 0 forks source link

character encoding issues in kmz branch #110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Current version or kmz branch: r123

StackOverflow question:
http://stackoverflow.com/questions/29865772/use-google-my-maps-with-geoxml3

Comment by ralf:
at least I solved the special charcter problem using 
"decodeURIComponent(escape..... I found a good post here on SO: 
http://stackoverflow.com/questions/5396560/how-do-i-convert-special-utf-8-chars-
to-their-iso-8859-1-equivalent-using-javasc

 I added the lines placemark.name = decodeURIComponent(escape (placemark.name)); placemark.description = decodeURIComponent(escape (placemark.description)); to the geoxml3.js (kmz branch) behind "placemark = {....". Don't know, if this is the best position, but it works!!

Original issue reported on code.google.com by geocodezip on 28 Apr 2015 at 1:28