set the db encoding to utf-8, otherwise data is stored incorrectly in db. Can be...
authorAndy Allan <gravitystorm@gmail.com>
Wed, 15 Oct 2008 16:56:56 +0000 (16:56 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Wed, 15 Oct 2008 16:56:56 +0000 (16:56 +0000)
config/database.yml

index fe47e11aa1bbae31073b8cfb8016b7005178d3dc..cc3f9a1a5fb26e4fd5b2186728c3e4d5c6b45127 100644 (file)
@@ -16,6 +16,7 @@ development:
   username: openstreetmap
   password: openstreetmap
   host: localhost
+  encoding: utf8
 
 # Warning: The database defined as 'test' will be erased and
 # re-generated from your development database when you run 'rake'.
@@ -26,6 +27,7 @@ test:
   username: osm_test
   password: osm_test
   host: localhost
+  encoding: utf8
 
 production:
   adapter: mysql
@@ -33,4 +35,4 @@ production:
   username: osm
   password: osm
   host: localhost
-
+  encoding: utf8