siconv (StreamICONV) filters its stdin to stdout while converting from one character set to another. It does this via the iconv(3) function provided by glibc (but not well documented under Linux). All you need to do is cat your data through it and redirect stdout to your desired file or program. The iconv command line function that comes with glibc appears to read everything into a single buffer before converting. If you need to translate 1GB of data, that obviously wouldn't work; thus, this program.
|Tags||Text Processing Filters Utilities|
|Operating Systems||POSIX Linux|
Release Notes: Command line character sets now work properly.