From: nobuyoshi nakada Date: 2005-12-14T17:17:48+09:00 Subject: Re: Iconv library - differences between Ruby 1.8.2 and 1.8.4? Hi, At Wed, 14 Dec 2005 16:10:17 +0900, Dave Burt wrote in [ruby-core:06888]: > Now, the question: what are the changes in the iconv library between in Ruby > 1.8.2 and Ruby 1.8.4-preview1? In particular, I'm wondering if there are any > incompatibilities between the more recent version of the library and the older > version of Ruby? 2 changes. * added Iconv::InvalidEncoding which is raised if requested encodings were invalid. * charset_alias.rb now parses config.charset file directly, instead of reading the result sh executed it. > I'm interested because of a particular problem that is solved between the > library versions on a particular Windows setup, One-Click Installer plus the > Iconv addon pack. The original issue was raised in [ruby-talk:170478]: That problem isn't concerned with Ruby and ext/iconv, but is rather a building issue. One-Click Installer is compiled with MS VC++ 7.1, but "the Iconv addon pack" is compiled with MS VC++ 6.0 or before, I guess. If it is true, iconv.dll sets errno in msvcrt.dll whereas iconv.so refers it in msvcr71.dll. IMHO, it would be no longer a good idea to assemble pre-built binaries now, on Windows. I suspect packagers may have to build all binaries from sources by themselves. -- Nobu Nakada