From: nobuyoshi nakada Date: 2005-12-14T13:56:16+09:00 Subject: Re: Iconv weirdness on Windows XP Hi, At Wed, 14 Dec 2005 00:17:39 +0900, Dave Burt wrote in [ruby-talk:170489]: > > irb(main):003:0> Iconv.iconv('utf-8', 'X-UNKNOWN', 'Hello, world') > > (irb):3: [BUG] rb_sys_fail(iconv("utf-8", "X-UNKNOWN")) - errno > > == 0 ruby 1.8.2 (2004-12-25) [i386-mswin32] > > > > This application has requested the Runtime to terminate it in an > > unusual way. Please contact the application's support team for more > > information. > > > > C:\Bin> > > I'm kinda guessing, but it looks like this is a problem with the Iconv > library failing to set errno for the second failure. This failure often occurs if msvcrt DLL versions mismatch. e.g., ruby and iconv.so use msvcr71.dll whereas iconv.dll uses msvcrt.dll. -- Nobu Nakada