lexer.rl: work around an 1.9.2-specific Encoding bug.