T
Tim Ferrell
I am trying to use the ruby-mp3info library on Windows XP and all is well unless
the tags have some Unicode in them. I installed GNU libiconv 1.9.1 and the
iconv.so file using the instructions found here:
http://wiki.rubyonrails.com/rails/pages/iconv
I get an exception, though, when I try using it. Here is the relevant code and
the error:
require "iconv"
#strip byte-order bytes if they exists
data[0..3] =~ /^[\xff\xfe]+$/ and data = data[2..-1]
data = Iconv.iconv("ISO-8859-1", "UNICODE", data)[0]
--
#<Errno::ENOENT: No such file or directory - iconv("ISO-8859-1", "UNICODE")>
I am totally lost on this ... any ideas? Also is there any kind of alternative
to iconv on Windows?
Thanks,
Tim
the tags have some Unicode in them. I installed GNU libiconv 1.9.1 and the
iconv.so file using the instructions found here:
http://wiki.rubyonrails.com/rails/pages/iconv
I get an exception, though, when I try using it. Here is the relevant code and
the error:
require "iconv"
#strip byte-order bytes if they exists
data[0..3] =~ /^[\xff\xfe]+$/ and data = data[2..-1]
data = Iconv.iconv("ISO-8859-1", "UNICODE", data)[0]
--
#<Errno::ENOENT: No such file or directory - iconv("ISO-8859-1", "UNICODE")>
I am totally lost on this ... any ideas? Also is there any kind of alternative
to iconv on Windows?
Thanks,
Tim