I have this file.
If I open it in Total Commander with
F3
and press S
the proper content will be shown.
I tried to do the same thing in bash with iconv
:
iconv -f ASCII -t UTF8 input.txt
but I got this:
iconv: illegal input sequence at position 0
If I do from CP850
or CP852
:
iconv -f CP850 -t UTF8 input.txt
iconv -f CP852 -t UTF8 input.txt
I will have some unwanted characters in the output:
̦ŮŢŮ
How to have the requested content also in Linux Terminal? What encoding is used in Total Commander when it shows ASCII (DOS-charset)
? Or is it a bug in iconv
?
Asked by user3719454
(202 rep)
Apr 21, 2022, 10:06 AM
Last activity: Apr 21, 2022, 10:50 AM
Last activity: Apr 21, 2022, 10:50 AM