set default_external for ruby 1.9
Merge pull request #647 from mreinsch/encoding

make sure to read all files in UTF-8 encoding