diff options
author | Alessandro Menezes <alessandroasm@gmail.com> | 2020-10-02 16:17:39 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2021-05-31 21:51:18 -0400 |
commit | 2295061e8079b146e656526ce1b264bf8f217585 (patch) | |
tree | 99386fa5097984ebad0d32b4c96aa5d50aceda92 /CHANGELOG.md | |
parent | 53c4855517ff3d6ef0cb612579ede1f6e281a506 (diff) |
searcher: do UTF-8 BOM sniffing like UTF-16
Previously, we were only looking for the UTF-16 BOM for determining
whether to do transcoding or not. But we should also look for the UTF-8
BOM as well.
Fixes #1638, Closes #1697
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 27ba4956..9a987858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ Bug fixes: Fix stdin detection when using PowerShell in UNIX environments. * [BUG #1765](https://github.com/BurntSushi/ripgrep/issues/1765): Fix panic when `--crlf` is used in some cases. +* [BUG #1638](https://github.com/BurntSushi/ripgrep/issues/1638): + Correctly sniff UTF-8 and do transcoding, like we do for UTF-16. * [BUG #1816](https://github.com/BurntSushi/ripgrep/issues/1816): Add documentation for glob alternate syntax, e.g., `{a,b,..}`. * [BUG #1847](https://github.com/BurntSushi/ripgrep/issues/1847): |