view · edit · sidebar · attach · print · history

UTF-8 and LATIN1

You may sometime encounter this error on de.oddb.org on Windows when starting up

 `initialize': invalid encoding ("utf8", "latin1") (Iconv::InvalidEncoding)

that means you have to take care of the following (the line is just an example where it appeared)

 C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb/import/pharmnet.rb

on line

 16

Change

 utf8
 latin1

to

 UTF-8
 LATIN1

Install iconv for windows

 http://gnuwin32.sourceforge.net/packages/libiconv.htm

and

 http://www.gnupg.org/download/iconv.en.html

and

 ftp://ftp.gnupg.org/gcrypt/binary/libiconv-1.9.1.dll.zip

also see here for deoddb

 http://dev.ywesee.com/wiki.php/Masa/20110106-setup-oddbOrg-windows#iconv
view · edit · sidebar · attach · print · history
Page last modified on January 12, 2011, at 10:36 AM