07-13-2023, 11:05 PM
Hi all. trying to compare and uniq 2 .txt files. Getting this error:
sort: string comparison failed: Invalid or incomplete multibyte or wide character
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were ‘sorient\342t\r’ and ‘sorient\350rent\r’.
I would be so grateful, if you could advise me how to avoid it.
Manuall string delete is not working for me, as .txt is really large
I have found that it was because of strings, containing unprintable characters. How could i remove all of them from the txt file?
I mean, to remove all the strings containing unprintable characters or smth
sort: string comparison failed: Invalid or incomplete multibyte or wide character
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were ‘sorient\342t\r’ and ‘sorient\350rent\r’.
I would be so grateful, if you could advise me how to avoid it.
Manuall string delete is not working for me, as .txt is really large
I have found that it was because of strings, containing unprintable characters. How could i remove all of them from the txt file?
I mean, to remove all the strings containing unprintable characters or smth