From: nobu.nokada@... Date: 2005-10-23T01:41:14+09:00 Subject: Re: Problems with Iconv Hi, At Sun, 23 Oct 2005 01:23:27 +0900, Horacio Sanson wrote in [ruby-talk:162037]: > I am trying to convert some text data read from a web page from one charset to > UTF-8 using Iconv but I am getting an IllegalSequence all the time. > #puts @body > puts Iconv.new("sjis", "utf8").iconv(@body) It will convert from UTF8 to SJIS. Iconv.conv("utf8", "sjis", @body) The order comes from iconv_open(3) defined by SUSv2. -- Nobu Nakada