Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve binary detection for cases starting by chance by a BOM
The presence of a sequence of bytes resembling a BOM does not guarantee that the data is text. We can in those cases use the detection provided by Qt. If the codec matches the one selected, we can consider that text. See issue #2197
- Loading branch information