HCC is character filter which replaces certain characters by other characters one by one, according to a translation table. It is useful for converting plain texts from one character set to another. Currently available filters include win1250 to ISO-8859-2, win1250 to ASCII (ISO-8859-1), ISO-8859-2 to win1250, and ISO-8859-2 to ASCII (ISO-8859-1). You may get better results with "iconv" utility which is part of glibc.
Tags | Text Processing |
---|---|
Licenses | GPL |
Operating Systems | POSIX Linux |
Implementation | C++ Unix Shell |
Release Notes: A read/write buffer has been implemented which increases performance about 3 times.
Release Notes: The syntax of conversion tables has been enhanced to ease tracking of changes with 'diff'. New translations have been added to win1250->iso88592, win1250->iso88591, iso88592->win1250, and iso88592->cp852 maps. ISO-8859-2->win1250 conversion should be now complete (lossless).
Release Notes: Various "special" quotes are now handled better when converting from win1250 to iso-8859-1 and iso-8859-2.
Release Notes: Handling of spaces in filenames in x2y scripts has been fixed. Compilation warnings and GCC 3.x compilation errors have been addressed. A note about possible data corruption if conversion is done more than once on same file has been added to the README.
Release Notes: This release fixes a typo in the 'sv' translation in iso88592-win1250 map and a missing '#include
iconv
hcc is creation of my very young self. After more than 7 years from its creation I can say, that it is just typical small-scale example of reinventing the wheel. Or we can apply even Henry Spencer's "Those who do not understand Unix are condemned to reinvent it, poorly."
So please, take a look at iconv (http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html)
(part of libiconv (http://freshmeat.net/projects/libiconv/))
and learn your lessons easier way, not like me in case of this hcc utility.
:)