Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows streaming of UTF w/ BOM strings [gh-6]
UTF strings with BOM were only being detected if the entire DOM was part of the first feed(). If a string were to be streamed and the BOM given in different feed() calls the detector would incorrectly detect a different encoding.
- Loading branch information
Showing
2 changed files
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.