Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong BOM detection
This fixes a bug introduced in 27c6579. In that commit we are checking if a string starts with a Unicode BOM and remove the BOM if necessary. Apparently though Qt's startsWith() function doesn't work as exected here, so it's changed to a manual comparison in this commit which seems to work fine. The first person who can explain that behaviour to me gets a free beer if we meet in person. See issue #1279. See issue #1282.
- Loading branch information