Set proper utf-8 character encoding.

The code doesn't seem to run on ruby 1.9.3p194 (in ubuntu 13.04) unless ruby is told about the character encoding. With this addition it works perfectly.

Thank you for the script.