Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard against checking if EOF is an invalid character.
Some encodings use a simple array lookup and EOF (-1) will always be an invalid index.
- Loading branch information
2042347
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@enebo Check this please. Adding this in fixed the Encoding#default_external specs using ShiftJS at start-up.