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.
An open, cross-platform journaling program.
A scientific plotting package.