mbleigh/seed-fu — Issue #31: encoding problems
Author: eloyesp
Created: 2011-12-05 18:17:43+00:00
State: open

I'm not sure if it is a problem or if i'm doing something bad.

I have a database with UTF-8 and I have simbols like á ñ ü and I'm ussing seed-fu:writer for write seed for this data.

when I try to use this seed I see that there are errors:

```ruby
Localidad {:id=>26, :name=>"ALBARI\xC3\x91O", :departamento=>"PEHUAJO",
:lat=>nil, :lng=>nil, :zoom=>nil, :provincia_id=>1}
Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8: INSERT INTO "localidades" ("created_at", "departamento", "id", "lat", "lng", "name", "provincia_id", "updated_at", "zoom") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
```

Is there something I can do?