摘要 |
PURPOSE:To process a text code in a simple and effective way by providing a text code generating means which inserts a control character for the generation of the text code and a character attribute identifying means which identifies the attribute defined to each character of the text code. CONSTITUTION:A text code generating means 1 produces a text code with the addition of a control character having the byte length of an unchanged character when the byte length of the characters constituting a character string is changed halfway of the character string. A character attribute identifying part 2 controls the 1-byte character attribute information 5 and the 2-byte character attribute information 6 which are stored in a storage area 3. For these character attribute information, the byte code tables 7-10 are prepared. Thus, the byte code tables are turned into a hierarchical structure in response to each byte of characters for the control of the attribute set to each character of each byte length. Thus, it is not required to process a text code which incorporates the characters of different number of bytes. |