Problem with German Umlauts - MSSQL Database - rake Migration

Hello all,

I habe the follow Migration Script:

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

def self.down

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?

Debian 6, ruby 1.8.7, rails 2.3.5, rake 0.9.1

See if this helps:

There is an ROR forum here where you can ask ROR questions.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs