Package: libc6
Version: 2.3.2.ds1-22

iconv(1) tries to read in its whole input before doing
conversion. This is no good if you want to use it in a
pipe.

Example:

yes | iconv -f utf-8 -t iso-8859-1

expected result: ten lines of `y'
actual result: iconv runs out of memory

As a more serious example, consider

zcat dump-of-wikipedia.xml.gz | iconv -f utf-8 -t $charset | ...

-- 
``The Strategic Railway Authority is not in the business of railway lines.''
  (Cambridgeshire County Councillor Shona Johnstone)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to