Dear Sirs,

i manganed to create an own "Store Locator" with Google Maps.

So far so good.

I followed this guide:
http://code.google.com/intl/en/apis/maps/articles/phpsqlsearch.html

everything was fine, until i started to enter addresses and names with
Ü,Ä,ß in my sql database. suddenly i get this error messages while
checking the phpsqlsearch_genxml.php:


Warning: DOMElement::setAttribute() [domelement.setattribute]: string
is not in UTF-8 in C:\xampp\htdocs\phpsqlsearch_genxml.php on line 46

Warning: DOMElement::setAttribute() [domelement.setattribute]: string
is not in UTF-8 in C:\xampp\htdocs\phpsqlsearch_genxml.php on line 45




Line 45 = The line where it searches the name out of my sql database
(e.g.ABC Shop Köln)
Line 46 = The line where it searches the address in my sql
database(e.g. Marktstraße)

So what i know is that these "special caracters" are not given in the
UTF 8 and so it can not read them, because the php and html is in UTF
8. (hope thats correct :) )

The problem is, i can not avoid it because for instance the word
"street" in german ("Straße") already includes a "ß".




In the guide mentioned above, it says that you could use an UTF8
encoder.

I clicked on the link, but frankly i dont understand how to include
this encoder in the php-context, so that it works again.

Could you please help me?

I really tried to find and google a soloution for hours already.
But i cant really find a soloution for my special case.

I am not that much into this programmer language, to be able, to adapt
other UTF encoders (for instance from email problems) to my php file.

Please if someone already had this problem or know how to solve it,
help me..


I am sure there is an easy soloution, because in the guide its only
mentioned with one or two phrases, but unfortunatly i just dont know
how right now!


Thank you!

-- 
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 [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