I downloaded the test sequences, and it seems the input file is not
a valid windows-1251 encoded file. Iconv stops at the first illegal
character, and this seems to be the correct behaviour (even with -c).
recode "works" because recode doesn't check it's input for invalid
(uncovertable) characters
Package: libc6
Version: 2.3.2.ds1-22
Severity: important
I'm converting text file search.txt of size 61998 from windows-1251 to koi8-r
like
$ iconv -c -f windows-1251 -t koi8-r search.txt >result.txt
The resulting file result.txt is of size 8157 missing a large part of the
original text.
Note
2 matches
Mail list logo