charliesome/twostroke — pull request #4 by fritzsche (2012-01-14 15:32:09+00:00)
Title: Fix: test execution terminates on non-unicode systems

After git clone I tried to run test by "ruby test.rb". But I execute on a Japanese Windows XP system and test suite terminates by encoding error in lexer.rb (line35) regex is UTF-8 but string is Windows-31J.
The issue is that input file format of test files is not set and default to system encoding is taken.