摘要 |
PURPOSE:To compress efficiently data of consecutive same characters such as consecutive characters of Japanese data in 2-byte codes. CONSTITUTION:A compression pre-processing section 12 converts and processes data with same consecutive characters into a sum/subtraction modulo of adjacent data or exclusive OR data as the compression preprocessing and converts it into data consecutive in the unit of bytes. Compression data 14 comprising a special character representing the compression degree, repetitive character data and repetitive number of times of the characters are obtained from a compression post-processing section 13 when some characters are consecutive by taking one-byte character of the consecutive data from the compression pre-processing section 12 as one unit. |