delicious

encoding - Make Ruby 1.9 regard all source files to be UTF-8 encoded. (Even if recompiling the interpreter is necessary) - Stack Overflow

A murb'ed feed, posted about 11 years ago filed in windows, ruby, rails, tips, stackoverflow, utf8, encoding & fix.

Somehow Ruby 1.9 (experienced it myself under Windows) doesn’t consider the files UTF-8 encoded by default. This stackoverflow entry describes that export RUBYOPT=-Ku (or set RUBYOPT=-Ku in Windows environments) solves that.

Go to the original link.