[OSM-dev] Error with API request to local server
Tom Hughes
tom at compton.nu
Wed Nov 19 10:27:10 GMT 2008
Matthias Brandt wrote:
> The 3rd entry has an german umlaut, so I think libxml has problems with
> reading/processing UTF-8 chars. What can I do? Obviously, you don't have
> these problems at openstreetmap.org...
No, but then our database has it's character encodings buggered up in
interesting ways...
I assume that your database encoding is set to UTF-8?
The next question is then how you got your data into the database? Did
you do it through rails? or with osmosis? or something else?
One thing you may to try is adding "encoding: utf8" to the database
connection details in config/database.yml and seeing if that helps.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list