You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is currently broken. At least UTF16LE with BOM should be auto detected and correctly parsed like in normal ripgrep. Caused by my own binary file detection
Other encodings apart from UTF8 and UTF16 with BOM are not automatically detected by ripgrep either, though they can be parsed using --encoding=xyz. Maybe useful reference: BurntSushi/ripgrep#1
Decoding should now be on parity with ripgrep: 29b8f1d
There is the chardet crate that should be able to detect more types of encodings, but I don't think I care enough about other encodings right now to integrate it.
Also, it's currently not possible to disable BOM parsing / transcoding, pending BurntSushi/ripgrep#1305
is currently broken. At least UTF16LE with BOM should be auto detected and correctly parsed like in normal ripgrep. Caused by my own binary file detection
ripgrep-all/src/adapters/spawning.rs
Line 23 in 5901cdc
Probably need to ask encoding_rs about encoding before checking for null bytes?
The text was updated successfully, but these errors were encountered: