Conversion between different codes can be implemented at high speed by
a small device. A code input unit inputs a code. A compatible information reference
unit refers to compatible information of each compressed symbol before and after
code conversion, which then sends out compatible information data to a compressed
symbol conversion unit. The compressed symbol conversion unit converts each of
the compressed symbols in the input code data to a form adapted to a code to be
converted based on the compatible information data, which then sends out converted
code data to a converted code output unit.