<< | Index | >>
Run
masa@masa ~/ywesee/oddb.org $ ruby193 -I ../oddb/lib bin/oddbd
Access
Result
Change log
Note
Task
Experiment
def migrate_to_utf8 #iconv = ::Iconv.new 'UTF-8//TRANSLIT//IGNORE', 'ISO-8859-1'iconv = ::Iconv.new 'UTF-8//TRANSLIT//IGNORE', 'ASCII'
def _migrate_to_utf8 queue, table, iconv, opts={} ... obj.odba_store unless obj.odba_unsaved?rescue
end def _migrate_obj_to_utf8 obj, queue, table, iconv, opts={} ...rescue
end
Run
ruby186 bin/admin
bin/admin ch.oddb> migrate_to_utf8
Note
Result
/usr/lib64/ruby/site_ruby/1.8/odba/cache.rb:324: [BUG] Segmentation fault ruby 1.8.6 (2009-06-08) [x86_64-linux] Abgebrochen
Run on Ruby 1.9.3
ruby193 -I ../oddb/lib bin/oddbd
bin/admin ch.oddb> migrate_to_utf8