If you ever get an error like this:
invalid multibyte char (US-ASCII)
when running a ruby script with ruby 1.9 containing non ASCII chars like ‘ä’, ‘ü’, ‘ö’ etc changes are good that you forgot to add a
# coding: utf-8
statement at the beginning of the file.