JP2570977B2 - Japanese code converter - Google Patents

Japanese code converter

Info

Publication number
JP2570977B2
JP2570977B2 JP5214775A JP21477593A JP2570977B2 JP 2570977 B2 JP2570977 B2 JP 2570977B2 JP 5214775 A JP5214775 A JP 5214775A JP 21477593 A JP21477593 A JP 21477593A JP 2570977 B2 JP2570977 B2 JP 2570977B2
Authority
JP
Japan
Prior art keywords
code
japanese
conversion
japanese code
code system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5214775A
Other languages
Japanese (ja)
Other versions
JPH0756708A (en
Inventor
良一 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5214775A priority Critical patent/JP2570977B2/en
Publication of JPH0756708A publication Critical patent/JPH0756708A/en
Application granted granted Critical
Publication of JP2570977B2 publication Critical patent/JP2570977B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムにお
ける日本語コード変換処理に関し、特に異なる日本語コ
ード体系相互間のコード変換を独立して実行する日本語
コード変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Japanese code conversion process in an information processing system, and more particularly, to a Japanese code conversion device for independently executing code conversion between different Japanese code systems.

【0002】[0002]

【従来の技術】日本語を使用する現在の情報処理システ
ムにおいては、JIS、シフトJIS、EBCDIC、
EUC等の複数の日本語コード体系が使用されている。
このような日本語コード体系は、同一の日本語に付され
たコードがそれぞれ異なっており、しかも情報処理シス
テム毎に異なる日本語コード体系が使用されている場合
が多い。従って、一の情報処理システムで使用されてい
る日本語を他の情報処理システムで使用するためには、
使用している日本語コード体系同士のコード変換を行な
う必要がある。
2. Description of the Related Art In a current information processing system using Japanese, JIS, shift JIS, EBCDIC,
A plurality of Japanese code systems such as EUC are used.
In such a Japanese code system, codes assigned to the same Japanese language are different from each other, and a different Japanese code system is often used for each information processing system. Therefore, to use Japanese used in one information processing system in another information processing system,
It is necessary to perform code conversion between the used Japanese code systems.

【0003】ところで、従来では日本語コード体系どう
しのコード変換は、日本語情報を利用しようとする者
が、変換する日本語コード体系にあった変換プログラム
を個別に作成して、当該情報処理システムのOS(opera
ting system)の管理下でCPU(central processing u
nit )の処理能力を利用してコード変換を実行してい
た。
Conventionally, in the code conversion between Japanese code systems, a person who intends to use Japanese information creates a conversion program corresponding to the Japanese code system to be converted, and creates a conversion program. OS (opera
CPU (central processing u) under the control of the
The code conversion was performed using the processing power of nit).

【0004】また、特定の変換元の日本語コード体系と
変換先の日本語コード体系同士を一対一で変換する変換
プログラムを事前に作成しておき、これをたとえばフロ
ッピィディスク等に予め記録しておく。そして、必要が
あったときにこのフロッピィディスクをディスク装置に
セットし、このフロッピィディスクに記録されている特
定の変換プログラムをコンピュータのメインメモリに読
み込んで立ち上げて実行する場合もあった。
Further, a conversion program for converting a specific conversion source Japanese code system and a conversion destination Japanese code system one-to-one is created in advance, and this is recorded in advance on a floppy disk or the like, for example. deep. When necessary, the floppy disk may be set in a disk device, and a specific conversion program recorded on the floppy disk may be read into a main memory of a computer, started up and executed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、個別に
変換プログラムを作成するためには、変換元のコード変
換体系をいちいち調べ、さらに変換先のコード変換体系
を調べたうえで、特定のプログラミング言語を選択して
利用する必要がある。このため、日本語情報を利用する
者の負担が大きく、また、日本語情報を利用することが
できるようになるまでに長時間を要する。さらに、情報
処理システム側のCPUを利用しているため、他の処理
プログラムの動作処理速度を低下させる等の欠点があ
る。
However, in order to individually create a conversion program, a conversion source code conversion system must be checked, a conversion destination code conversion system must be checked, and a specific programming language must be changed. It is necessary to select and use. For this reason, the burden on the person who uses the Japanese information is large, and it takes a long time before the Japanese information can be used. Furthermore, since the CPU of the information processing system is used, there is a disadvantage that the operation processing speed of another processing program is reduced.

【0006】一方、変換元の特定の日本語コード体系と
変換先の特定の日本語コード体系同士を変換するコード
変換プログラムを事前に用意しておく方法であれば、上
記個別にコード変換プログラムを作成する場合に比較し
て時間の短縮を図ることはできる。しかし、この場合に
はコード変換プログラムが記録されているフロッピィデ
ィスク等の選択やその立ち上げ等の煩雑な作業を必要と
する。さらに、上記と同様に情報処理システム側のCP
Uを利用しているため、他の処理プログラムの動作処理
速度を低下させる等の問題が未解決のままであった。
On the other hand, if a method for preparing a code conversion program for converting between a specific Japanese code system of a conversion source and a specific Japanese code system of a conversion destination in advance is used, the above-mentioned individual code conversion programs can be used. The time can be shortened as compared with the case of creating. However, in this case, complicated work such as selection of a floppy disk or the like on which a code conversion program is recorded and start-up thereof are required. Further, similarly to the above, the CP of the information processing system side
Since U is used, problems such as lowering the operation processing speed of other processing programs remain unsolved.

【0007】そこで本発明は、異なる日本語コード体系
相互間のコード変換を容易に、かつ、短時間で行なえる
とともに、外部装置の処理速度を低下させない日本語コ
ード変換装置の提供を目的とする。
Accordingly, an object of the present invention is to provide a Japanese code conversion apparatus which can easily and quickly convert codes between different Japanese code systems and does not reduce the processing speed of an external device. .

【0008】[0008]

【課題を解決するための手段】本発明の日本語コード変
換装置は、入力される日本語コード体系の日本語コード
を、その日本語コード体系とは異なる他の日本語コード
体系の日本語コードにコード変換して出力するものであ
り、複数の日本語コード体系相互間のコード変換情報を
記憶した記憶手段20と、変換元の日本語コード体系と
変換先の日本語コード体系の初期値を設定するディップ
スイッチ30と、このディップスイッチ30で設定した
変換元の日本語コード体系の初期値を読み出し、その読
み出した変換元の日本語コード体系と異なる日本語コー
ド体系の日本語コードが入力されるとき、コード変換処
理の変更命令を出力する変更命令出力手段50と、該変
更命令に基づき、その変更後の他の日本語コード体系の
種類を判別する判別手段11と、上記コード変換情報の
変換元の日本語コード体系を、判別した他の日本語コー
ド体系に切り替える切替手段13と、ディップスイッチ
30により初期設定した変換元の日本語コード体系の日
本語コードを、該ディップスイッチ30で初期設定した
変換先の日本語コード体系の日本語コードに、上記コー
ド変換情報に基づいて変換し、また、切替手段13によ
り切り替えた他の日本語コード体系の日本語コードを、
該ディップスイッチ30で初期設定した変換先の日本語
コード体系の日本語コードに、上記コード変換情報に基
づいて変換する変換手段12とを設けた構成のものであ
る。
A Japanese code conversion apparatus according to the present invention converts a Japanese code of an input Japanese code system into a Japanese code of another Japanese code system different from the Japanese code system. The storage means 20 stores code conversion information between a plurality of Japanese code systems, and stores initial values of a Japanese code system of a conversion source and a Japanese code system of a conversion destination. The DIP switch 30 to be set and the initial value of the Japanese code system of the conversion source set by the DIP switch 30 are read, and a Japanese code of a Japanese code system different from the read Japanese code system of the conversion source is input. A change command output means 50 for outputting a change command for the code conversion process, and determining whether the type of another Japanese code system after the change is based on the change command. Means 11, a switching means 13 for switching the conversion source information Japanese language system to another determined Japanese language system, and a Japanese language of the conversion source Japanese language system initially set by the DIP switch 30. The code is converted to the Japanese code of the Japanese code system of the conversion destination initially set by the dip switch 30 based on the code conversion information. Word code,
The conversion means 12 is provided to convert the Japanese code of the conversion destination Japanese code system initially set by the dip switch 30 based on the code conversion information.

【0009】[0009]

【作用】変換元の日本語コード体系が、ディップスイッ
チで初期設定した体系である場合には、変更命令出力手
段からはコード変換処理の変更命令が出力されない。こ
れにより、入力される日本語コードの体系の種類を判別
することなく、ディップスイッチにより初期設定した変
換元の日本語コード体系の日本語コードを、該ディップ
スイッチで初期設定した変換先の日本語コード体系の日
本語コードに、コード変換情報に基づき変換する。
When the Japanese code system of the conversion source is the system initially set by the dip switch, the change command output means does not output the change command of the code conversion process. As a result, without discriminating the type of the input Japanese code system, the Japanese code of the conversion source Japanese code system initially set by the DIP switch is replaced by the conversion destination Japanese code initially set by the DIP switch. Converts to the Japanese code of the code system based on the code conversion information.

【0010】変換元の日本語コード体系が、ディップス
イッチで初期設定した体系と異なる場合には、変更命令
出力手段からコード変換処理の変更命令が出力される。
これにより、変更後の他の日本語コード体系の種類を判
別し、その切り替えた他の日本語コード体系の日本語コ
ードを、ディップスイッチで初期設定した変換先の日本
語コード体系の日本語コードに、コード変換情報に基づ
き変換する。
If the Japanese code system of the conversion source is different from the system initially set by the dip switch, a change command for the code conversion process is output from the change command output means.
This determines the type of the other Japanese code system after the change, and switches the Japanese code of the other Japanese code system to the Japanese code of the conversion destination Japanese code system initially set with the DIP switch Is converted based on the code conversion information.

【0011】[0011]

【実施例】本発明について図面を参照して説明する。図
1は一実施例としての日本語コード変換装置の電気的構
成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an electrical configuration of a Japanese code conversion device as one embodiment.

【0012】図示日本語コード変換装置は、日本語コー
ド変換処理部10と、これに接続された記憶部20と、
本装置の使用者が任意に設定の切り替えを行なえるよう
に、図示しない筐体又は基板の一部に設けられたディッ
プスイッチ30と、日本語コード等を送出する外部コン
ピュータ50との間で、該日本語コード等を送受するI
/O回路を備えたデータ入出力処理部40とを備えてい
る。
The illustrated Japanese code conversion apparatus includes a Japanese code conversion processing unit 10, a storage unit 20 connected thereto,
A dip switch 30 provided on a part of a housing or a board (not shown) and an external computer 50 for transmitting Japanese codes and the like, so that a user of the apparatus can arbitrarily switch settings. I send and receive the Japanese code
And a data input / output processing unit 40 having an / O circuit.

【0013】記憶部20は、外部コンピュータ50から
入力される変換元の日本語コード体系の日本語コード
を、変換先の日本語コード体系の日本語コードに変換す
るためのコード変換情報と、日本語コード変換プログラ
ムとが記憶された記憶手段であり、たとえばROM(re
ad only memory)で構成されている。
The storage unit 20 stores code conversion information for converting the Japanese code of the conversion source Japanese code system input from the external computer 50 into the Japanese code of the conversion destination Japanese code system. A word code conversion program is stored in the storage means.
ad only memory).

【0014】上記のコード変換情報は、たとえば特定の
日本語に対して各日本語コード体系独自のコードをそれ
ぞれ対応付けしたものを表形式で記憶したコード変換テ
ーブルや、各日本語コード体系相互間のコードどうしを
対応づける変換式であり、これにより一の日本語コード
体系の日本語コードが指定されると、他の全ての日本語
コード体系の日本語コードが一義的に定まるようになっ
ている。
The above-mentioned code conversion information includes, for example, a code conversion table which stores, in a tabular form, a code corresponding to a specific Japanese language and a code unique to each Japanese code system. This is a conversion formula that associates each other's codes, so that when a Japanese code of one Japanese code system is specified, the Japanese codes of all other Japanese code systems are uniquely determined. I have.

【0015】ディップスイッチ30は、データ入出力処
理部40を介して入力される、たとえば使用頻度が高い
と予想される変換元の日本語コード体系(たとえばJI
S等)及び変換先の日本語コード体系(たとえばEUC
等)の初期値を設定できるものである。
The DIP switch 30 is input via the data input / output processing unit 40 and is, for example, a conversion source Japanese code system (for example, JI
S etc.) and the Japanese code system of the conversion destination (for example, EUC
Etc.) can be set.

【0016】上記外部コンピュータ50は、ディップス
イッチ30で設定した変換元の日本語コード体系の初期
値を読み出し、その読み出した変換元の日本語コード体
系と異なる日本語コード体系の日本語コードを出力する
とき、コード変換処理の変更命令を出力する機能(変更
命令出力手段)を有し、中央処理装置(CPU)及び入
出力制御装置を内蔵して構成されている。
The external computer 50 reads the initial value of the conversion source Japanese code system set by the DIP switch 30 and outputs a Japanese code of a Japanese code system different from the read conversion source Japanese code system. In this case, it has a function of outputting a change command of the code conversion process (change command output means), and has a built-in central processing unit (CPU) and an input / output control device.

【0017】上記の日本語コード変換プログラムは、日
本語コード変換処理部10に、記憶部20から特定の日
本語コード体系を読み出させ、かつ、特定の機能を実行
させるものである。
The above-mentioned Japanese code conversion program causes the Japanese code conversion processing unit 10 to read a specific Japanese code system from the storage unit 20 and to execute a specific function.

【0018】日本語コード変換処理部10は、本装置の
制御中枢となるとともに、日本語コード変換プログラム
に基づいて、次の機能を実現するCPU(Central Proc
essing Unit )(図示しない)を中心として構成されて
いる。
A Japanese code conversion processing unit 10 serves as a control center of the apparatus, and realizes the following functions based on a Japanese code conversion program by a CPU (Central Proc).
essing Unit) (not shown).

【0019】(1) 上記の変更命令出力手段50から出力
されたコード変換処理の変更命令に基づき、その変更後
の他の日本語コード体系の種類を判別する機能(判別手
段11)。 (2) コード変換情報の変換元の日本語コード体系を、判
別手段11で判別した他の日本語コード体系に切り替え
る機能(切替手段13)。 (3) ディップスイッチ30により初期設定した変換元の
日本語コード体系の日本語コードを、該ディップスイッ
チ30で初期設定した変換先の日本語コード体系の日本
語コードに、コード変換情報に基づいて変換し、また、
切替手段13により切り替えた他の日本語コード体系の
日本語コードを、該ディップスイッチ30で初期設定し
た変換先の日本語コード体系の日本語コードに、コード
変換情報に基づいて変換する機能(変換手段12)。
(1) A function of determining the type of another Japanese code system after the change based on the change instruction of the code conversion process output from the change instruction output means 50 (determination means 11). (2) A function of switching the Japanese code system as the conversion source of the code conversion information to another Japanese code system determined by the determination means 11 (switching means 13). (3) The Japanese code of the conversion source Japanese code system initially set by the DIP switch 30 is converted to the Japanese code of the conversion destination Japanese code system initially set by the DIP switch 30 based on the code conversion information. Convert and also
A function (conversion) of converting a Japanese code of another Japanese code system switched by the switching means 13 into a Japanese code of a Japanese code system of a conversion destination initially set by the dip switch 30 based on the code conversion information. Means 12).

【0020】次に、上記の構造を備えた日本語コード変
換装置の動作について説明する。本装置の電源が投入さ
れると、各部の初期化が行なわれた後、日本語コード変
換処理部10によって、記憶部20からの日本語コード
変換プログラムの読み出し動作が実行され、図示しない
メインメモリに書き込まれる。
Next, the operation of the Japanese-language code converter having the above structure will be described. When the power of the apparatus is turned on, after initialization of each unit is performed, a reading operation of a Japanese code conversion program from a storage unit 20 is executed by a Japanese code conversion processing unit 10, and a main memory (not shown) is read. Is written to.

【0021】次に、日本語コード変換処理部10は、デ
ィップスイッチ30の設定状態を読み取り、変換元と変
換先の日本語コード体系を設定した後、データ入出力処
理部40からの入力待機状態となる。
Next, the Japanese code conversion processing unit 10 reads the setting state of the DIP switch 30, sets the conversion source and conversion destination Japanese code systems, and waits for an input from the data input / output processing unit 40. Becomes

【0022】一方、外部コンピュータ50は、日本語コ
ードの送出前に本装置のディップスイッチ30の設定状
態を調べる。そして、このディップスイッチ30で初期
設定されている変換元の日本語コード体系と異なる日本
語コード体系に基づく日本語コードを送出する場合に
は、当該日本語コードに先立って、コード変換処理の変
更命令を送出する。
On the other hand, the external computer 50 checks the setting state of the DIP switch 30 of the present apparatus before transmitting the Japanese code. When transmitting a Japanese code based on a Japanese code system different from the Japanese code system of the conversion source initially set by the DIP switch 30, the code conversion process must be changed prior to the Japanese code. Send command.

【0023】判別手段11は、入力されたコード変換処
理の変更命令によって、変換元の日本語コード体系を判
別する。この判別結果により、切替手段13は記憶部2
0のコード変換テーブルの変換元の日本語コード体系を
切り替える。
The discriminating means 11 discriminates the conversion source Japanese code system in accordance with the input code conversion processing change instruction. On the basis of the result of this determination, the switching means 13 sets the storage unit 2
The conversion source Japanese code system of the code conversion table of 0 is switched.

【0024】一方、外部コンピュータ50は、ディップ
スイッチ30で初期設定されている変換元の日本語コー
ド体系と同じ日本語コード体系に基づく日本語コードを
送出する場合には、コード変換処理の変更命令を出力す
ることなく、変換元の日本語コードをそのまま送出す
る。
On the other hand, when the external computer 50 sends out a Japanese code based on the same Japanese code system as the conversion source Japanese code system initially set by the DIP switch 30, a change instruction of the code conversion process is issued. The Japanese code of the conversion source is transmitted as it is without outputting.

【0025】このようにして、データ入出力処理部40
を介して日本語コードが日本語コード変換処理部10に
入力されると、日本語コード変換処理部10では入力さ
れた日本語コードを1バイトずつ読み出し、この日本語
コードを日本語コード変換テーブルの変換元の日本語コ
ードと照合する。ここで、該当する日本語コードがあれ
ば、対応する変換先の日本語コードを読み出し、この日
本語コードを上記図示しないメインメモリ内に設定され
ているバッファメモリにバッファリングする。一方、該
当する日本語がなければ変換元の日本語コードをデータ
入出力処理部40を介して、そのまま上記外部コンピュ
ータ50に返送する。このようなコード変換処理を入力
された全日本語コードについて行い、該当する日本語コ
ードがある場合には、上記と同様にして順次上記バッフ
ァメモリにバッファリングする。そして、上記コード変
換処理の終了後、バッファリングした変換後の日本語コ
ードをデータ入出力処理部40を介して、外部コンピュ
ータ,その他の外部装置に向けて出力する。
As described above, the data input / output processing unit 40
When a Japanese code is input to the Japanese code conversion processing unit 10 via the, the Japanese code conversion processing unit 10 reads the input Japanese code one byte at a time, and converts the Japanese code into a Japanese code conversion table. Check with the Japanese code of the conversion source. If there is a corresponding Japanese code, the corresponding Japanese code of the conversion destination is read, and this Japanese code is buffered in a buffer memory set in the main memory (not shown). On the other hand, if there is no corresponding Japanese, the conversion source Japanese code is returned to the external computer 50 via the data input / output processing unit 40 as it is. Such a code conversion process is performed for all the input Japanese codes, and if there is a corresponding Japanese code, it is sequentially buffered in the buffer memory in the same manner as described above. After completion of the code conversion process, the buffered converted Japanese code is output to the external computer and other external devices via the data input / output processing unit 40.

【0026】上述した装置であれば、複数の日本語コー
ド体系相互間のコード変換情報を参照してコード変換を
行なっているので、変換元の日本語コード体系や変換先
の日本語コード体系の種類を意識することなく、容易か
つ迅速にコード変換を行なうことができる。
In the above-described apparatus, since the code conversion is performed with reference to the code conversion information among a plurality of Japanese code systems, the conversion of the Japanese code system of the conversion source and the Japanese code system of the conversion destination is performed. Code conversion can be performed easily and quickly without being aware of the type.

【0027】本装置内に設けた日本語コード変換処理部
10によって、日本語コードの変換処理を行ない、外部
コンピュータ50側のCPUを介さないで変換処理を行
なうことができるので、その外部コンピュータ50側の
処理速度を向上させることができる。
The Japanese language code conversion processing unit 10 provided in the apparatus performs the Japanese language code conversion processing and can perform the conversion processing without the intervention of the CPU of the external computer 50. Side processing speed can be improved.

【0028】ディップスイッチにより変換元と変換先の
日本語コード体系の初期値を設定しているので、それら
の日本語コード体系を、本装置の使用者によって、容易
に切り替え設定することができる。
Since the initial values of the source and destination Japanese code systems are set by the dip switches, the user of the present apparatus can easily switch and set these Japanese code systems.

【0029】上記判別手段11と切替手段13とを設け
ているので、変換元の日本語コード体系が変更された場
合であっても、この変更後の日本語コード体系に自動的
に切り替えてコード変換を行なうことができる。なお、
本発明は図示又は説明した実施例に限るものではなく、
その要旨の範囲内で様々に変形実施が可能である。上記
では、変更命令出力手段として本装置の外部に接続した
外部コンピュータを例として説明したが、本装置内部に
該手段を設けた構成としてもよい。
Since the discriminating means 11 and the switching means 13 are provided, even if the original Japanese code system is changed, the code is automatically switched to the changed Japanese code system. A conversion can be performed. In addition,
The invention is not limited to the illustrated or described embodiment,
Various modifications can be made within the scope of the gist. In the above description, an external computer connected to the outside of the apparatus has been described as an example of the change command output means. However, a configuration in which the means is provided inside the apparatus may be employed.

【0030】[0030]

【発明の効果】本発明の日本語コード変換装置によれ
ば、次の効果を得ることができる。変換元の日本語コー
ド体系と、変換先の日本語コード体系とをディップスイ
ッチで初期設定しておき、その初期設定した日本語コー
ド体系の日本語コードを変換処理することになる場合に
は、その体系の種類を判別せずに、直ちにコード変換を
実行しているので、その変換を短時間で行なうことがで
きる。
According to the Japanese language code converter of the present invention, the following effects can be obtained. If the Japanese code system of the conversion source and the Japanese code system of the conversion destination are initially set with DIP switches, and the Japanese code of the initially set Japanese code system is to be converted, Since the code conversion is performed immediately without determining the type of the system, the conversion can be performed in a short time.

【0031】変換元の日本語コード体系が、ディップス
イッチで初期設定したものと異なる場合にも、該体系の
日本語コードに先立って送出されるコード変換処理の変
更命令に基づいて、その変換元の日本語コード体系の種
類を判別できるので、該判別した他の日本語コード体系
に自動的に切り替えてコード変換を行なうことができ
る。
Even if the Japanese code system of the conversion source is different from the one initially set by the dip switch, the conversion source code of the conversion source is changed based on the code conversion processing change command sent prior to the Japanese code of the system. Since the type of the Japanese code system can be determined, code conversion can be performed by automatically switching to the determined other Japanese code system.

【0032】変換元と変換先の日本語コード体系の初期
値をディップスイッチにより設定しているので、それら
の日本語コード体系を、本装置の使用者が容易に切り替
え設定できる。
Since the initial values of the Japanese code system at the conversion source and the conversion destination are set by the dip switches, the user of the present apparatus can easily switch and set these Japanese code systems.

【0033】外部装置から送出された日本語コードを、
本装置で変換処理を行ない、外部装置側のCPUを介さ
ないで変換処理を行なうことができるので、該外部装置
の処理速度を向上させることができる。
The Japanese code sent from the external device is
Since the conversion processing can be performed by the present apparatus without using the CPU of the external apparatus, the processing speed of the external apparatus can be improved.

【0034】外部装置から独立して、本装置によりコー
ド変換処理を行なっているので、異なる日本語コード体
系相互間のコード変換を短時間で行うことができる。
Since the code conversion process is performed by the present device independently of the external device, the code conversion between different Japanese code systems can be performed in a short time.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例としての日本語コード変換装
置の電気的構成を示すブロック図である。
FIG. 1 is a block diagram showing an electrical configuration of a Japanese code conversion device as one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 日本語コード変換処理部 11 判別手段 12 変換手段 13 切替手段 20 記憶部(記憶手段) 30 ディップスイッチ 40 データ入出力処理部 50 外部コンピュータ(変更命令出力手段) DESCRIPTION OF SYMBOLS 10 Japanese code conversion processing part 11 Judgment means 12 Conversion means 13 Switching means 20 Storage part (storage means) 30 Dip switch 40 Data input / output processing part 50 External computer (change command output means)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力される日本語コード体系の日本語コ
ードを、その日本語コード体系とは異なる他の日本語コ
ード体系の日本語コードにコード変換して出力する日本
語コード変換装置において、複数の日本語コード体系相
互間のコード変換情報を記憶した記憶手段と、変換元の
日本語コード体系と変換先の日本語コード体系の初期値
を設定するディップスイッチと、このディップスイッチ
で設定した変換元の日本語コード体系の初期値を読み出
し、その読み出した変換元の日本語コード体系と異なる
日本語コード体系の日本語コードが入力されるとき、コ
ード変換処理の変更命令を出力する変更命令出力手段
と、該変更命令に基づき、その変更後の他の日本語コー
ド体系の種類を判別する判別手段と、上記コード変換情
報の変換元の日本語コード体系を、判別した他の日本語
コード体系に切り替える切替手段と、ディップスイッチ
により初期設定した変換元の日本語コード体系の日本語
コードを、該ディップスイッチで初期設定した変換先の
日本語コード体系の日本語コードに、上記コード変換情
報に基づいて変換し、また、切替手段により切り替えた
他の日本語コード体系の日本語コードを、該ディップス
イッチで初期設定した変換先の日本語コード体系の日本
語コードに、上記コード変換情報に基づいて変換する変
換手段とを設けたことを特徴とする日本語コード変換装
置。
1. A Japanese code converter for converting an input Japanese code of a Japanese code system into a Japanese code of another Japanese code system different from the Japanese code system and outputting the converted Japanese code. A storage means for storing code conversion information between a plurality of Japanese code systems, a dip switch for setting initial values of a source Japanese code system and a destination Japanese code system, A change instruction that reads the initial value of the Japanese code system of the conversion source and outputs a code conversion processing change instruction when a Japanese code with a Japanese code system different from the read Japanese code system of the conversion source is input. Output means; determining means for determining the type of another Japanese code system after the change based on the change instruction; Switching means for switching the code system to another determined Japanese code system, and a conversion destination Japanese code initially set by the DIP switch to the conversion destination Japanese code set by the DIP switch. Based on the above code conversion information, the Japanese code of another Japanese code system switched by the switching means is converted into the Japanese code of the code system, and the Japanese code of the conversion destination initially set by the dip switch A conversion device for converting a Japanese code in a system based on the code conversion information.
JP5214775A 1993-08-09 1993-08-09 Japanese code converter Expired - Lifetime JP2570977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5214775A JP2570977B2 (en) 1993-08-09 1993-08-09 Japanese code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5214775A JP2570977B2 (en) 1993-08-09 1993-08-09 Japanese code converter

Publications (2)

Publication Number Publication Date
JPH0756708A JPH0756708A (en) 1995-03-03
JP2570977B2 true JP2570977B2 (en) 1997-01-16

Family

ID=16661335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5214775A Expired - Lifetime JP2570977B2 (en) 1993-08-09 1993-08-09 Japanese code converter

Country Status (1)

Country Link
JP (1) JP2570977B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60134340A (en) * 1983-12-21 1985-07-17 Mitsubishi Electric Corp Terminal control device
JPH02306725A (en) * 1989-05-22 1990-12-20 Fujitsu Ltd Method and apparatus for code conversion
JP2757525B2 (en) * 1990-03-19 1998-05-25 富士通株式会社 Mutual conversion system for multiple character code systems
JPH0462630A (en) * 1990-06-29 1992-02-27 Shimadzu Corp Character code converting device
JPH0481957A (en) * 1990-07-25 1992-03-16 Toshiba Corp Communication controller

Also Published As

Publication number Publication date
JPH0756708A (en) 1995-03-03

Similar Documents

Publication Publication Date Title
JPH10171665A (en) Jump code generator, interrupt program selection device and system, and computer
JP2570977B2 (en) Japanese code converter
JP2002182896A (en) Voice recognizing system, voice recognizing device and method therefor
US6766448B2 (en) Microcomputer for transferring program data to an internal memory from an external memory connected via a bus and a method therefor
EP0326102A2 (en) Method and apparatus for selecting a keyboard on a computer system
GB2228813A (en) Data array conversion
JP3491838B2 (en) I / O expansion system
KR100496479B1 (en) Address signal decoding circuit
JPH0535385A (en) Key code converter
JPH01112423A (en) Overlaying control system
JPS63137348A (en) Character code conversion system
JPH11219492A (en) Mobile radio equipment provided with control signal generator
JPS63168729A (en) Microprocessor
JPH05119957A (en) Data converter
JPH02228722A (en) Output code determining method by combined key input
JPH04142611A (en) Keyboard
JPH09305480A (en) Memory device and method for accessing memory for the same
JPS60110028A (en) Keyboard device
JPH02216529A (en) Recognition processing system for electric signal
JPH02146641A (en) Memory device
JPH0798695A (en) Microcomputer
JPS59225434A (en) Key input device
JPS6320527A (en) Code converter
JPH0527890A (en) Data processing system having data conversion function
JPH0520241A (en) Virtual terminal equipment