Thanks, this did the job... Horacio Sunday 23 October 2005 01:41、nobu.nokada / softhome.net さんは書きました: > 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.