Projects / Hany's Char Convertor

Hany's Char Convertor

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.

Operating Systems

Recent releases

  •  23 Oct 2003 18:08

    Release Notes: A read/write buffer has been implemented which increases performance about 3 times.

    •  17 Sep 2003 15:41

      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).

      •  05 Aug 2003 17:08

        Release Notes: Various "special" quotes are now handled better when converting from win1250 to iso-8859-1 and iso-8859-2.

        •  26 Feb 2003 17:08

          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.

          •  28 Jan 2002 07:32

            Release Notes: This release fixes a typo in the 'sv' translation in iso88592-win1250 map and a missing '#include '. u2w, w2a and w2u now handle command line parameters in the same way as u2a.

            Recent comments

            15 May 2007 15:52 hany


            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 (
            (part of libiconv (
            and learn your lessons easier way, not like me in case of this hcc utility.



            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.