Wow, that sounds like you are very familiar with it.
Thanks so far. If you could explain me, where exactly i should place that function, it woulg really helping me a lot. - do you mean somwhere in my current (above mentioned) php (will it do it automatically for me then) - or do i have to manually convert every single dataset from the database ( so: i have to copy for instance the address Köln-Straße 5, out of the database, convert it with your named function, see what comes out and past the result in the database again) If it is like this, i will probably have to write a new php, that will convert me the addresses right? really thankful for you help! Max On 31 Mrz., 13:17, Andrew Leach <[email protected]> wrote: > 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.
