I have a Rails project with lots and lots of cyrillic strings in it.
It worked fine on Ruby 1.8, but Ruby 1.9 recognizes all source files as US-ASCII-encoded until you provide an # encoding: utf-8
comment on top of each and every source file in the project. Obviously the files don't parse as US-ASCII.
Is there a simpler way to say, literally, "This application is UTF8-encoded. Please consider all and any included source files as UTF8 unless declared otherwise"?