Your text is in US-ASCII. try : * put "# encoding: ASCII" at the beginning of source or * convert your text to utf-8 - (notepad++, set encoding ASCIII / convert UTF-8) - iconv test your execution with p __ENCODING__ good luck :) -- Posted via http://www.ruby-forum.com/.