twitter/twitter-cldr-rb — pull request #8 by KL-7 (2012-04-02 21:07:31+00:00)
Title: Add '# encoding: UTF-8' to all Ruby files.

Addresses the same issue as #4, but with a fewer commits =)

I think you can merge it as an initial solution for encoding problems on 1.9. Afaik 1.8 simply ignores magic comments so it shouldn't cause any problems for this Ruby version. You can add some special logic for 1.8 involving `$KCODE` later if you think that's necessary.