Problem with German Umlauts - MSSQL Database - rake Migration

S

Sholto Douglas

Hello all,

I habe the follow Migration Script:

class ImportFirmen < ActiveRecord::Migration
def self.up
f =3D Mitarbeiter.find:)all, :select =3D> :Firma, :group =3D> =
:Firma)
f.each do |ff|
Firma.create:)description =3D> ff.Firma)
print "\n"
end
end

def self.down
Firma.delete_all
end


When i use the rake db:migrate command, the German Umlauts will show as =
? and write it so in the Database

In the Console this will work fine.

Any Ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,701
Latest member
XavierQ83

Latest Threads

Top