From: Li Chen Date: 2008-10-09T01:14:13+09:00 Subject: Re: how to remove strange characters Hi Stephen and others, Iconv only works for some characters. It doesn't work for the following scripts. Any idea? Thanks, Li C:\Users\Alex>irb irb(main):001:0> require 'iconv' => true irb(main):002:0> string1="Fatal injury or ruin:\223Hath some fond lover tic'd thee to thy bane?\224 \342\200\246" => "Fatal injury or ruin:\223Hath some fond lover tic'd thee to thy bane?\224\342\200\246" irb(main):003:0> puts Iconv.iconv('ASCII//TRANSLIT','utf-8',string1).to_s Iconv::IllegalSequence: "\223Hath some fond "... from (irb):3:in `iconv' from (irb):3 irb(main):004:0> -- Posted via http://www.ruby-forum.com/.