Patch #3608 » migrate_from_mantis.patch
migrate_from_mantis.rake (working copy) | ||
---|---|---|
496 | 496 |
print "encoding [UTF-8]: " |
497 | 497 |
encoding = STDIN.gets.chomp! |
498 | 498 |
encoding = 'UTF-8' if encoding.blank? |
499 |
db_params[:encoding] = encoding |
|
499 | 500 |
break if MantisMigrate.encoding encoding |
500 | 501 |
puts "Invalid encoding!" |
501 | 502 |
end |