Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reader updates the Unicode state right before checking the input's encoding, but the assertion that encoding errors are only possible when using utf8 was done against the original state.
- Loading branch information