On Nov 25, 1:30 pm, Svein Sivertsen <[email protected]> wrote: > Hi, > I have problem with extracting data from my database, using the PHP- > script "phpsqlajax_genxml2.php" when using the special norwegian > characters ( æ, ø, å, Æ, Ø, Å). I am running Ajax and Mysql on my > "localhost". The message was like this:"found invalid sign in the > text ....". When changing from the special norwegian characters to > "english" ones, the code worked ok. > However, when I echo-out addresses from the database it is no problem > using the special norwegian characters. > So, I gess something has to be done in the "phpsqlajax_genxml2.php" > script, but what?
Character encoding. >From this article: http://code.google.com/apis/maps/articles/phpsqlajax.html#outputxml Note: If your database contains international characters or you otherwise need to force UTF-8 output, you can use utf8_encode on the outputted data. -- Larry > > Hopefully waiting > Svein -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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.
