Closed zhl111 closed 8 months ago
Here is a detailed explanation of the problem https://github.com/phiresky/ripgrep-all/issues/47#issuecomment-1221336639
It looks like rga
is finding matching lines in your PDF and the failure occurs when printing those matches because they contain non-UTF-8 bytestrings. AFAIK rga
will transparently re-encode UTF-16 (but no other encodings) to UTF-8, so it's likely that
rga
is attempting to print that match verbatim, thenI'll assume this is a dupe of #47
I don't know much about programming, please tell me how to do it 1. 2.