On Mar 31, 10:58 am, MaxCaro <[email protected]> wrote: > > Maybe you know something about it. > Thanks for your help, i am happy that somebody relpies at all :) > > Not a mainstream topic probably :)
UTF-8 encodes characters as sequences of other characters. UTF-8 has an enormous range, and allows something like Ŧ (that's a barred capital T) to be encoded as a sequence of characters whose ASCII values are less than 255: in this case, a barred T is Å ¦ (Hex C5, A6). The problem comes when you use one of these characters on its own rather than as a sequence. ß is not a valid UTF-8 sequence, it should appear as ß (Hex C3, 9F). So: use the php function utf8_encode() to convert your entered data into UTF8, which you can then store in your database and manipulate. If you make sure the browser page you create specifies an encoding of UTF-8 you should be able to use the database data directly; otherwise there's a php function utf8_decode() to convert the data from UTF-8 to ISO-8859-1 (where ß is a valid single character). Or: since your database already has unencoded data in it, encode it to UTF8 on the way out. -- 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.
