Thursday, March 31, 2011

[Google Maps API v2] Re: UTF 8 encoder Google Maps

Just to make sure we are talking about the same thing again, here is
again what i did so far in deail:

i wanted to create a store locatot. with the phpfinder from google
maps.

therefore i need a sql database.

1.) i created the database with the rows (ID, name, address, lat, lng)
name=shopname
address= address

lat/lng= coodrinates for google maps.

2.) i copied the phpsqlsearch_genxml.php from google maps store
locator guide and tested it, just as described in the guide.
first, everything was fine, because i only had 2 addresses not
including special characters such as (Ä,Ö,ß,Ü..)

3.)when i started to fill the database with all addresses, i realized,
that the phpsqlsearch_genxml.php dindt work anymore. because it can
not read the "unknown characters" given in my database.

so first of all i though there would be an easy way (for instance just
changing the format of the database, or adding a line in the
phpsqlsearch_genxml.php, saying the php, that the caracters are in
ISO-8889 and not only in UTF8),

thats where i am so far.


--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate