bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnu-libiconv] iconv should be able to handle input files that are a


From: David D Lowe
Subject: [bug-gnu-libiconv] iconv should be able to handle input files that are also output files
Date: Tue, 05 Feb 2013 15:36:05 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

The following command is buggy:

iconv -f cp1251 -t utf8 filename -o filename

iconv does not recognise when the input file and the destination files are the same, writing to the file before it can read it all in. There are workarounds for this, but IMO iconv should behave in a safe manner when the filenames are identical.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]