fart-it icon indicating copy to clipboard operation
fart-it copied to clipboard

Parsing of UTF-16 files is broken

Open dfs- opened this issue 1 year ago • 0 comments

Fart currently detects UTF-16 files as being in binary format, this happens for both UTF-16 LE BOM and UFT-16 BE BOM.

Even if binary detection is skipped using -B or --binary, the double byte code points will prevent fart from finding the searched text.

dfs- avatar Mar 12 '24 17:03 dfs-