Details
Description
In previous versions of JRuby I'd be able to pass in a Reader to the LexerSource. Then it'd read from that. Now it takes in an InputStream and reads one byte at a time casting the read byte to char. This breaks multibyte string encodings. I'm getting lots of problems with Japanese users. I'm basically passing down a ByteArrayInputStream with the string content as bytes. The problem seems to be that the lexer is no longer multibyte aware.
Patch for LexerSource to allow users to send in a Reader. New ReadrLexerSource class coming in another attachment.