JPH05298065A - Data converting processing system - Google Patents

Data converting processing system

Info

Publication number
JPH05298065A
JPH05298065A JP4128135A JP12813592A JPH05298065A JP H05298065 A JPH05298065 A JP H05298065A JP 4128135 A JP4128135 A JP 4128135A JP 12813592 A JP12813592 A JP 12813592A JP H05298065 A JPH05298065 A JP H05298065A
Authority
JP
Japan
Prior art keywords
data
byte
byte character
character code
field
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.)
Pending
Application number
JP4128135A
Other languages
Japanese (ja)
Inventor
Yoji Akaike
洋二 赤池
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4128135A priority Critical patent/JPH05298065A/en
Publication of JPH05298065A publication Critical patent/JPH05298065A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To provide the data converting processing system which can easily edit a field where 1 byte system character data and 2 byte system character data coexist. CONSTITUTION:At a data format converting part 1, the record of a source data file 2 is inputted by a source data input. means 3, the contents of the data is inspected every field unit by a data converting means 4, and the existance of the 1 byte system character data is inspected When the 1 byte system character codes exist, they are converted to 2 byte system character codes corresponding to the characters. When the data converting of one record is completed, the data is outputted to an intermediate file 6 by an intermediate file output means 5. At a data editing processing part 7, the converted record is inputted from the intermediate file 6 by an intermediate file input means s. Since the inputted record is the editable form as it is, it is edited to the displayable form at a next data editing means 9, and is displayed or printed at an output device 11 by an output means 10.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、コンピュータ等のデ
ータ処理装置において、一つのフィールドの中に1バイ
ト系の文字コードと2バイト系の文字コードが混在する
データを処理し易くするためのデータ変換処理方式に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data for facilitating the processing of data in which a 1-byte character code and a 2-byte character code are mixed in one field in a data processing device such as a computer. The present invention relates to a conversion processing method.

【0002】[0002]

【従来の技術】図9は、例えば特開昭63−25454
2号公報に示された従来の混在フィールド制御方式のブ
ロック構成図であり、図において、1はデータ形式変換
部、2は原データファイル、3は原データ入力手段、5
1はデータ内容判別手段、52はビットマップ作成手
段、5は中間ファイル出力手段、6は中間ファイル、7
はデータ編集処理部、8は中間ファイル入力手段、53
はビットマップ解析手段、54はデータ展開手段、9は
データ編集手段、10は出力手段、11は出力装置であ
る。
2. Description of the Related Art FIG. 9 shows, for example, JP-A-63-25454.
FIG. 2 is a block configuration diagram of a conventional mixed field control system shown in Japanese Patent Publication No. 2 publication, in which 1 is a data format conversion unit, 2 is an original data file, 3 is original data input means, 5
1 is a data content discriminating means, 52 is a bitmap creating means, 5 is an intermediate file output means, 6 is an intermediate file, 7
Is a data edit processing unit, 8 is an intermediate file input means, 53
Is a bitmap analysis unit, 54 is a data expansion unit, 9 is a data editing unit, 10 is an output unit, and 11 is an output device.

【0003】次に動作について説明する。原データファ
イル2には、一つのフィールドに1バイト系の文字デー
タと2バイト系の文字データとが混在するレコード群が
記憶されている。このとき2バイト系の文字データに
は、データ自身にシフトコードであるシフトイン,シフ
トアウトを付加した形式で格納されている。
Next, the operation will be described. The original data file 2 stores a record group in which 1-byte character data and 2-byte character data are mixed in one field. At this time, the 2-byte character data is stored in a format in which shift-in and shift-out which are shift codes are added to the data itself.

【0004】まず、原データ入力手段3で原データファ
イル2からレコードを入力する。読み込まれた1レコー
ドをデータ内容判別手段51でフィールド単位にデータ
の内容を調べ、2バイト系コードデータの存在を判別す
る。その結果から、ビットマップ作成手段52で2バイ
ト系の文字コードの位置に対応するビットマップ上のビ
ットを立てる。
First, the original data input means 3 inputs a record from the original data file 2. The data content discriminating means 51 examines the data content of each read record in field units, and discriminates the existence of 2-byte code data. From the result, the bit map creating means 52 sets the bit on the bit map corresponding to the position of the 2-byte character code.

【0005】図10は、ビットマップが1ビットである
ときに、フィールド中の2バイト系の文字データの位置
を相対的に表している関係図である。図10におけるフ
ィールド内の混在データ例55は、1バイト系の文字デ
ータである“A”,“B”,“C”,“D”と、2バイ
ト系の文字データである“日本”とが混在している1フ
ィールドの例である。これに対してビットマップ例56
では、上記混在フィールドの1バイトに対して1ビット
が相対的に対応付けられていて、混在データ例55の中
の2バイト系文字データ“日本”の文字の位置に対応し
たビットが“1”(ONの状態)となっている。
FIG. 10 is a relational diagram relatively showing the position of 2-byte character data in the field when the bit map is 1 bit. In the mixed data example 55 in the field in FIG. 10, 1-byte character data “A”, “B”, “C”, “D” and 2-byte character data “Japan” are included. This is an example of mixed one field. On the other hand, a bitmap example 56
Then, 1 bit is relatively associated with 1 byte of the mixed field, and the bit corresponding to the character position of the 2-byte character data “Japan” in the mixed data example 55 is “1”. (ON state).

【0006】次に、ビットマップ作成手段52によって
作成されたビットマップは、1バイト系文字データと2
バイト系文字データとが含まれるフィールドの直後に付
加されて、中間ファイル6へ中間ファイル出力手段5に
よって格納される。このとき、混在データであることを
意味する記号(本例では“M”)にデータ属性を変換す
る。
Next, the bitmap created by the bitmap creating means 52 is composed of 1-byte character data and 2
It is added immediately after the field containing the byte character data and stored in the intermediate file 6 by the intermediate file output means 5. At this time, the data attribute is converted to a symbol (“M” in this example) that means mixed data.

【0007】図11は、ビットマップが付加され、デー
タ属性定義が変換された内部表現形式のレコードの実例
を示す説明図である。図11において、内部表現形式レ
コード例57は、図10で示した混在データ例がデータ
属性58の“M”と、ビットマップ59が付加された形
のレコードとを含むデータに変換された実例である。
FIG. 11 is an explanatory diagram showing an actual example of a record in the internal representation format in which the bitmap is added and the data attribute definition is converted. In FIG. 11, the internal representation format record example 57 is an example in which the mixed data example shown in FIG. 10 is converted into data including the record “M” of the data attribute 58 and the record to which the bitmap 59 is added. is there.

【0008】以上のように、1バイト系文字データと2
バイト系文字データとが混在する原データを内部表現形
式に変換し、中間ファイル6へ格納するのがデータ形式
変換部1である。
As described above, 1-byte character data and 2
The data format conversion unit 1 converts the original data in which byte character data is mixed into an internal representation format and stores it in the intermediate file 6.

【0009】次に、中間ファイル6に格納された内部表
現形式レコードを出力装置へ表示したり,印字するため
の手段としてのデータ編集処理部7について説明する。
データ編集処理部7では、中間ファイル6を中間ファイ
ル入力手段8で入力し、ビットマップ解析手段53でビ
ットマップを解析し、2バイト系文字データの位置を求
める。データ展開手段54では、ビットマップ解析手段
53によって得られた2バイト系の文字データの位置を
もとにフィールドのデータを分解し、2バイト系の文字
データの前後にシフトコードを付加する。
Next, the data edit processing section 7 as means for displaying or printing the internal representation format record stored in the intermediate file 6 on the output device will be explained.
In the data edit processing unit 7, the intermediate file 6 is input by the intermediate file input means 8, the bitmap is analyzed by the bitmap analysis means 53, and the position of the 2-byte character data is obtained. The data expansion unit 54 decomposes the field data based on the position of the 2-byte character data obtained by the bitmap analysis unit 53, and adds shift codes before and after the 2-byte character data.

【0010】以上のようにして、すべての2バイト系コ
ードデータにシフトコードが付加されると、データ編集
手段9は表示可能な形式にレコードを編集し、出力手段
10で出力装置11へ表示したり,印字する。
As described above, when the shift code is added to all the 2-byte code data, the data editing means 9 edits the record in a displayable format, and the output means 10 displays it on the output device 11. Or print.

【0011】[0011]

【発明が解決しようとする課題】従来方式は以上のよう
に成されていたので、ビットマップを解析する処理が余
分に必要となり、従来からあるデータ編集処理をそのま
ま使うことはできない。また、このような混在データの
扱いが困難なのはデータを編集する作業であるが、デー
タ編集手段にデータが渡って来る段階で2バイト系の文
字データにシフトコードが付加されているため、ここで
の問題点は解決されていない。
Since the conventional method is constructed as described above, an extra process for analyzing the bitmap is required, and the conventional data editing process cannot be used as it is. In addition, it is difficult to handle such mixed data when editing the data. However, since the shift code is added to the 2-byte character data at the stage when the data reaches the data editing means, here The problem of is not solved.

【0012】上記の問題点を図で説明する。図8は1バ
イト系の文字データと2バイト系の文字データの混在す
るフィールドを2等分する処理を示した説明図である。
図において、45は1バイト系の文字コードと2バイト
系の文字コードとが混在しているフィールドの例であ
る。この例ではシフトイン,シフトアウトをそれぞれ2
バイトとした。46は2等分したデータの前半部分を格
納するフィールドである。47は2等分したデータの後
半部分を格納するフィールドである。
The above problems will be described with reference to the drawings. FIG. 8 is an explanatory diagram showing a process of equally dividing a field in which 1-byte character data and 2-byte character data are mixed into two.
In the figure, 45 is an example of a field in which a 1-byte character code and a 2-byte character code are mixed. In this example, shift-in and shift-out are 2
It was a bite. Reference numeral 46 is a field for storing the first half of the bisected data. 47 is a field for storing the latter half of the data obtained by dividing the data into two equal parts.

【0013】混在フィールド45の内容を2等分して前
半部分フィールド46と後半部分フィールド47にそれ
ぞれ格納する処理である。このときに問題になるのは、
2等分するときの境界が2バイト系文字データにかかっ
てしまうことがあることである。混在フィールド45の
2等分する境界は2バイト系文字コードである“漢”に
かかっている。ここでデータを分けると“漢”のデータ
が壊れてしまう。ここでは“漢”を前半部分に振り分け
ることで回避している。
This is a process of dividing the content of the mixed field 45 into two equal parts and storing them in the first half partial field 46 and the second half partial field 47, respectively. The problem at this time is
This means that the boundary when dividing into two parts may overlap the 2-byte character data. The boundary at which the mixed field 45 is divided into two halves is "Kan" which is a 2-byte character code. If you divide the data here, the "Kan" data will be destroyed. Here, it is avoided by allocating "han" to the first half.

【0014】また、2等分するときの境界が1バイト系
文字データになるか2バイト系文字データになるかで、
前半部分フィールド46の終端と後半部分フィールド4
7の始端の処理が変わってくる。図8では2等分した境
界が2バイト系文字データであり、2バイト系の文字コ
ードで終了しているため、前半部分フィールド46の終
端と後半部分フィールド47の始端にそれぞれシフトア
ウト,シフトインを付加している。境界が1バイト系文
字データならばシフトコードを付加する必要はない。上
記の境界の文字コードの判断を行うためには、混在フィ
ールド45の先頭から文字データを解析する必要がある
ためプログラムの作成上大きな困難がともなっていた。
Depending on whether the boundary when dividing into two is 1-byte character data or 2-byte character data,
End of first half partial field 46 and second half partial field 4
The processing at the start of 7 changes. In FIG. 8, the equally divided boundary is 2-byte character data, and since it ends with a 2-byte character code, shift-out and shift-in are performed at the end of the first half field 46 and the start of the second half field 47, respectively. Is added. If the boundary is 1-byte character data, it is not necessary to add a shift code. In order to determine the character code on the boundary, it is necessary to analyze the character data from the beginning of the mixed field 45, which causes great difficulty in creating the program.

【0015】この発明は上記のような問題点を解決する
ためになされたもので、1バイト系の文字データと2バ
イト系の文字データの混在するフィールドの編集が容易
にできるようにしたデータ変換処理方式を提供すること
を目的とする。
The present invention has been made to solve the above problems, and is data conversion that facilitates editing of a field in which 1-byte character data and 2-byte character data are mixed. The purpose is to provide a processing method.

【0016】[0016]

【課題を解決するための手段】この発明に係るデータ変
換処理方式は、一つのフィールドの中に1バイト系の文
字コードと2バイト系の文字コードが混在するデータを
処理するデータ処理装置において、1バイト系の文字コ
ードに基づき、その文字に対応する2バイト系の文字コ
ードが参照可能なテーブルを有し、このテーブルを用い
て1バイト系の文字コードを2バイト系の文字コードに
変換する変換手段を備え、一つのフィールドの中に1バ
イト系の文字コードと2バイト系の文字コードが混在す
る場合に、1バイト系の文字を対応する2バイト系の文
字に置き換えるようにしたものである。
A data conversion processing system according to the present invention is a data processing apparatus for processing data in which a 1-byte character code and a 2-byte character code are mixed in one field. Based on the 1-byte character code, a table that can refer to the 2-byte character code corresponding to the character is provided, and the 1-byte character code is converted to the 2-byte character code using this table. A conversion means is provided so that when a 1-byte character code and a 2-byte character code are mixed in one field, the 1-byte character is replaced with the corresponding 2-byte character. is there.

【0017】さらに、この発明に係るデータ変換処理方
式は、1バイト系のかな文字コードに濁点,半濁点のコ
ードが続く場合、上記1バイト系のかな文字に対応する
2バイト系の文字コードに所定の定数を加算して、1バ
イト系のかな文字とそれに続く濁点,半濁点を対応する
2バイト系の濁音,半濁音の文字に置き換えるようにし
たものである。
Furthermore, in the data conversion processing method according to the present invention, when a 1-byte kana character code is followed by a dakuten or semi-dakuten code, a 2-byte character code corresponding to the 1-byte kana character is added. A predetermined constant is added to replace a 1-byte type kana character and the subsequent dakuten and semi-voiced point with a corresponding 2-byte type dakuon or semi-voiced sound character.

【0018】[0018]

【作用】この発明においては、1バイト系の文字コード
をそれに対応する2バイト系の文字コードに対応させる
テーブルを有し、1バイト系の文字を2バイト系の文字
に変換する。これにより、1バイト系の文字データと2
バイト系の文字データの混在するフィールドの内容を2
バイト系の文字コードに統一することができる。
According to the present invention, the table for converting the 1-byte character code to the corresponding 2-byte character code is provided, and the 1-byte character is converted into the 2-byte character. As a result, 1-byte character data and 2
2 for the contents of the field in which byte character data is mixed
It can be unified into byte character codes.

【0019】また、1バイト系のかな文字に濁点,半濁
点が続く場合、該当する2バイト系の文字コードに定数
を加算し、濁音,半濁音の2バイト系の文字に変換す
る。このように、濁点,半濁点の付いている1バイト系
のかな文字データを濁点,半濁点付きの2バイト系文字
コードに変換することで、フィールドに格納できるデー
タ長をできるだけ長くすることができる。
When a kana character of 1-byte character is followed by a dakuten character and a semi-voiced character, a constant is added to the corresponding 2-byte character code to convert it into a 2-byte character character of dakuon or semi-voiced sound. In this way, by converting 1-byte kana character data with dakuten and semi-dakuten into a 2-byte character code with dakuten and semi-voiced, the data length that can be stored in the field can be made as long as possible. ..

【0020】[0020]

【実施例】【Example】

実施例1.図1はこの発明の一実施例を示すデータ変換
処理方式のブロック構成図である。図において、1はデ
ータの形式を変換するデータ形式変換部、2は従来の1
バイト系文字コードと2バイト系文字コードとが混在す
るフィールドからなるレコード群が格納されている原デ
ータファイル、3は原データファイル2のレコードを入
力する原データ入力手段、4は入力した1バイト系文字
コードと2バイト系文字コードとが混在するフィールド
を変換するデータ変換手段、5は変換したデータを中間
ファイルに出力する中間ファイル出力手段、6は変換後
のレコード群が格納される中間ファイル、7はデータを
出力装置に出力するデータ編集処理部、8は中間ファイ
ル6のレコードを入力する中間ファイル入力手段、9は
入力したレコード内のフィールドを編集するデータ編集
手段、10は編集されたデータを出力装置に出力する出
力手段、11は実際にフィールドの内容を表示したり,
印字する出力装置である。
Example 1. FIG. 1 is a block diagram of a data conversion processing system showing an embodiment of the present invention. In the figure, 1 is a data format conversion unit for converting the format of data, and 2 is a conventional 1
Original data file in which a record group consisting of fields in which byte character codes and 2-byte character codes are mixed is stored, 3 is an original data input means for inputting records of the original data file 2, 4 is an input 1 byte Data conversion means for converting a field in which a system character code and a 2-byte character code are mixed, 5 is an intermediate file output means for outputting the converted data to an intermediate file, and 6 is an intermediate file in which a record group after conversion is stored , 7 is a data edit processing unit for outputting data to an output device, 8 is an intermediate file input means for inputting a record of the intermediate file 6, 9 is data editing means for editing a field in the input record, and 10 is an edited Output means for outputting data to the output device, 11 is for actually displaying the contents of the field,
An output device for printing.

【0021】次に動作について説明する。まず、データ
の形式を変換するデータ形式変換部1について説明す
る。原データファイル2のレコードを原データ入力手段
3で入力する。入力されたレコードはデータ変換手段4
でフィールド単位にデータの内容を調べ、1バイト系の
文字データが存在するか調べる。もし、1バイト系の文
字コードが存在するならばその文字に対応する2バイト
系の文字コードに変換する。同時にその1バイト系の文
字コードの前後に存在するシフトコードは除去すること
ができる。このようにしてデータ変換手段4で1レコー
ド分のデータ変換が終了したら、中間データ出力手段5
で中間ファイル6に出力される。この一連の処理を原デ
ータファイル2のレコード数分繰り返すことで中間ファ
イル6を作り上げる。
Next, the operation will be described. First, the data format conversion unit 1 that converts the format of data will be described. The record of the original data file 2 is input by the original data input means 3. The input record is the data conversion means 4
Check the contents of data in units of fields and check if there is 1-byte character data. If a 1-byte character code exists, it is converted to a 2-byte character code corresponding to the character. At the same time, the shift codes existing before and after the 1-byte character code can be removed. When the data conversion means 4 completes the data conversion for one record in this way, the intermediate data output means 5
Is output to the intermediate file 6. The intermediate file 6 is created by repeating this series of processes for the number of records of the original data file 2.

【0022】ここで、データ変換手段4の動作を図2の
フローチャートにて詳細に説明する。図において、12
から30は本文中で説明する処理ステップに対応してい
る。
Here, the operation of the data conversion means 4 will be described in detail with reference to the flowchart of FIG. In the figure, 12
To 30 correspond to the processing steps described in the text.

【0023】また、図3はデータ変換手段4で用いるデ
ータであり、図において、31は原データ入力手段3が
入力したレコードが格納されるメモリ上のバッフアであ
り、ここではバッフアAとしている。32はデータ変換
手段4で変換されたレコードが格納されるメモリ上のバ
ッフアであり、ここではバッフアBとしている。33は
バッフアA31のポインタでアドレス値がセットでき
る。このポインタはバッフアAの任意の場所の内容を参
照/更新することができ、このポインタをポインタAと
する。34はバッフアB32のポインタであり、ここで
はポインタBとする。
Further, FIG. 3 shows the data used in the data conversion means 4, and in the figure, 31 is a buffer on the memory in which the record input by the original data input means 3 is stored, which is designated as buffer A here. Reference numeral 32 is a buffer on the memory in which the record converted by the data conversion means 4 is stored, and is referred to as buffer B here. An address value 33 can be set by the pointer of the buffer A31. This pointer can refer to / update the contents of an arbitrary place of the buffer A, and this pointer is referred to as a pointer A. Reference numeral 34 is a pointer of the buffer B 32, which is a pointer B here.

【0024】また、図4は1バイト系の文字コードを2
バイト系の文字コードに変換するデータ変換テーブルで
ある。データ変換テーブル35は2バイトの要素が25
6個あるテーブルでそれぞれの要素には1バイト系の文
字コードに対応する2バイト系の文字コードが格納され
ており、その順番は1バイト系の文字コードの値の順番
に並んでいる。1バイト系の文字コードに対応する2バ
イト系の文字を参照するには、1バイト系の文字コード
の値に2を乗じる。データ変換テーブル35の先頭から
その値分先に格納されている2バイトのデータがその1
バイト系の文字コードに対応する2バイト系の文字コー
ドになる。
Further, in FIG. 4, the 1-byte character code is 2
It is a data conversion table for converting into a byte character code. The data conversion table 35 has 25 2-byte elements.
In each of the six tables, a 2-byte character code corresponding to a 1-byte character code is stored in each element, and the order is the order of the value of the 1-byte character code. To refer to a 2-byte character corresponding to a 1-byte character code, multiply the value of the 1-byte character code by 2. The 2-byte data stored from the beginning of the data conversion table 35 by that value is 1
It is a 2-byte character code corresponding to the byte character code.

【0025】また、図には記述していないが、ここでは
ポインタA33が指している文字コードが1バイト系の
文字コードか2バイト系の文字コードかを記憶するため
の標識(フラグ)を用いる。この標識はポインタA33
が指している文字コードが1バイト系の文字コードなら
ばOFFになり、2バイト系の文字コードならばONに
なる。この標識をフラグAとする。
Although not shown in the figure, a marker (flag) for storing whether the character code pointed to by the pointer A33 is a 1-byte character code or a 2-byte character code is used here. .. This sign is a pointer A33
If the character code pointed to by is a 1-byte character code, it will be OFF, and if it is a 2-byte character code, it will be ON. This sign is referred to as flag A.

【0026】図2のフローチャートを説明する。図1の
原データ入力手段3により原データファイル2のレコー
ドがバッフアA31に読み込まれている。まずポインタ
A33,ポインタB34に初期値をセットする(ステッ
プ12)。この初期値はそれぞれバッフアA31,バッ
フアB32の先頭アドレスである。次にバッフアB32
の内容をクリアする(ステップ13)。次にフラグAの
初期値をセットする。ここでは、バッフアA31に読み
込まれたフィールドの先頭は常に1バイト系の文字コー
ドから始まることになっているので、フラグAはOFF
の状態にしておく(ステップ14)。また、バッフアB
32にセットされる変換後のフィールドは、必ず2バイ
ト系の文字データから始まるので、変換後のデータバッ
フアの先頭にはシフトインコードをセットする(ステッ
プ15)。ポインタB34をシフトインコードの長さ
(ここでは2バイト)分進める(ステップ16)。次
に、ポインタA33の指しているバッフアA31のフィ
ールドの文字データを調べていく(ステップ17)。こ
の時シフトインがあれば、そこからは2バイト系の文字
コードになるのでフラグAをONにする(ステップ1
8)。逆にシフトアウトがあれば、そこからは1バイト
系の文字コードになるのでフラグAをOFFにする(ス
テップ19)。シフトイン,シフトアウトのときにはバ
ッフアB32にはデータをセットせず、ポインタA33
を次の文字に進めるためにポインタA33に2を加える
(ステップ20)。シフトイン,シフトアウト以外のと
きはフラグAの状態を判断する(ステップ21)。フラ
グAがONならば2バイト系の文字コードなので、その
データ2バイト分をそのままセットする(ステップ2
2)。そして、ポインタA33を次の文字に進めるため
ポインタA33に2を加える(ステップ23)。フラグ
AがOFFならば1バイト系の文字コードなので、ポイ
ンタA33の指している文字コードの値をもとに変換テ
ーブル35から対応する2バイト系の文字コードを取り
出し、ポインタB34の指しているバッフアB32の場
所に2バイト分セットする(ステップ24)。ポインタ
A33を次の文字に進めるためポインタA33に1を加
える(ステップ25)。そして、ポインタB34をバッ
フアB32の次の場所に進めるためにポインタB34に
2を加える(ステップ26)。以上の動作を一つのフィ
ールドのデータが終わるまで繰り返す(ステップ2
7)。一つのフィールドの変換が終了したら、ポインタ
B34の指している場所にシフトアウトをセットする
(ステップ28)。そしてポインタB34をシフトアウ
トの長さ(ここでは2バイト)分進める(ステップ2
9)。以上のステップ14からステップ29までの処理
をフィールドの数分繰り返し、1レコード分のデータの
変換を行う(ステップ30)。
The flowchart of FIG. 2 will be described. The record of the original data file 2 is read into the buffer A31 by the original data input means 3 of FIG. First, initial values are set in the pointer A33 and the pointer B34 (step 12). This initial value is the start address of buffer A31 and buffer B32, respectively. Next, buffer B32
The content of is cleared (step 13). Next, the initial value of the flag A is set. Here, since the beginning of the field read into the buffer A31 is always started from the 1-byte character code, the flag A is OFF.
(Step 14). In addition, buffer B
Since the field after conversion set to 32 always starts with 2-byte character data, a shift-in code is set at the beginning of the converted data buffer (step 15). The pointer B34 is advanced by the length of the shift-in code (here, 2 bytes) (step 16). Next, the character data in the field of the buffer A31 pointed by the pointer A33 is examined (step 17). If there is a shift-in at this time, a character code of 2-byte type will be generated from that point, so flag A is turned on (step 1
8). On the contrary, if there is a shift-out, a 1-byte character code is generated from that point, so the flag A is turned off (step 19). At the time of shift-in and shift-out, data is not set in the buffer B32 and the pointer A33
2 is added to the pointer A33 for advancing to the next character (step 20). When the shift-in or shift-out is not performed, the state of the flag A is judged (step 21). If the flag A is ON, it is a 2-byte character code, so 2 bytes of the data is set as it is (step 2
2). Then, 2 is added to the pointer A33 to advance the pointer A33 to the next character (step 23). If the flag A is OFF, the character code is a 1-byte character code. Therefore, the corresponding 2-byte character code is extracted from the conversion table 35 based on the value of the character code pointed to by the pointer A33, and the buffer pointed by the pointer B34 is displayed. Two bytes are set in the location of B32 (step 24). To advance the pointer A33 to the next character, 1 is added to the pointer A33 (step 25). Then, 2 is added to the pointer B34 in order to advance the pointer B34 to the next position of the buffer B32 (step 26). The above operation is repeated until the data of one field is completed (step 2
7). When the conversion of one field is completed, shift-out is set at the position pointed by the pointer B34 (step 28). Then, the pointer B34 is advanced by the shift-out length (here, 2 bytes) (step 2).
9). The above processing from step 14 to step 29 is repeated for the number of fields to convert data for one record (step 30).

【0027】次に、以上のようにしてデータ形式変換部
1で出力された中間ファイル6のレコードの内容を出力
するデータ編集処理部7について説明する。中間ファイ
ル6から、変換されたレコードを中間ファイル入力手段
8で入力する。入力されたレコードはそのまま編集可能
な形式であるので、次のデータ編集手段9で表示可能な
形式に編集され、出力手段10で出力装置11に表示さ
れたり、印字される。
Next, the data edit processing unit 7 for outputting the contents of the record of the intermediate file 6 output by the data format conversion unit 1 as described above will be explained. The converted record is input from the intermediate file 6 by the intermediate file input means 8. Since the input record is in a format that can be edited as it is, it is edited in a format that can be displayed by the next data editing means 9, and is displayed or printed on the output device 11 by the output means 10.

【0028】実施例2.実施例1では1バイト系の文字
をそのまま2バイト系の文字に変換していた。これだ
と、1バイト系の文字の長さがそのまま2倍になってし
まう。本実施例では、1バイト系のかな文字に濁点,半
濁点が付いているものに注目し、これを濁音,半濁音の
2バイト系の文字に変換する。図5は、実施例1で使用
したフローチャートに濁点,半濁点の処理を追加したも
のである。図において、36から41は追加された処理
ステップであり、本文中で説明する処理ステップに対応
している。また、21,24,25,26は図2のフロ
ーチャートで同じ番号の処理ステップに対応している。
Example 2. In the first embodiment, the 1-byte character is directly converted to the 2-byte character. This would double the length of 1-byte characters. In the present embodiment, attention is paid to the one-byte type kana characters having a dakuten and a semi-dakuten, and these are converted into a two-byte type character of dakuon and semi-dakune. FIG. 5 is a flowchart in which the processing for dakuten and semi-dakuten is added to the flowchart used in the first embodiment. In the figure, reference numerals 36 to 41 denote added processing steps, which correspond to the processing steps described in the text. Further, reference numerals 21, 24, 25 and 26 correspond to processing steps having the same numbers in the flowchart of FIG.

【0029】次に動作について説明する。フラグAの状
態を判断し(ステップ21)、フラグAがOFFならば
1バイト系の文字コードの変換を行う(ステップ2
4)。このときポインタA33の指している1バイト系
の文字コードを調べる(ステップ36)。その文字が、
かなのカ行,サ行,タ行であるならば、ポインタA33
の指している次の文字が濁点かを判定する(ステップ3
7)。濁点ならばポインタB34が指している2バイト
系の文字コードに対して第1の定数を加える(ステップ
38)。また、ポインタA33の指している1バイト系
の文字がかなのハ行である時、ポインタA33の指して
いる次の文字が濁点か,半濁点かを判定する(ステップ
39)。濁点ならば、ポインタB34が指している2バ
イト系の文字コードに対して第1の定数を加える(ステ
ップ38)。半濁点ならば、ポインタB34が指してい
る2バイト系の文字コードに対して第2の定数を加える
(ステップ40)。このときの定数は、2バイト系の文
字コードがJISの漢字コード(JIS X0208)
であるならば、濁点の時は1、半濁点の時は2とする。
これは、JISの漢字コードではかなの文字コードが
“清音”,“濁音”,“半濁音”の順にコードが定義し
てあることを利用している。そして、上記の濁点,半濁
点の処理が行われたならばポインタA33に2を加える
(ステップ41)。濁点,半濁点の処理が行われていな
いならばポインタA33に1を加える(ステップ2
5)。そして、ポインタB34に2を加える(ステップ
26)。
Next, the operation will be described. The state of the flag A is judged (step 21), and if the flag A is OFF, the 1-byte character code is converted (step 2).
4). At this time, the 1-byte character code pointed to by the pointer A33 is checked (step 36). That letter
If it is a kana line, a sa line, or a ta line, a pointer A33
Determine whether the next character pointed to by is a dakuten (step 3)
7). If it is a dakuten, a first constant is added to the 2-byte character code pointed to by the pointer B34 (step 38). When the 1-byte character pointed by the pointer A33 is the Kana line, it is determined whether the next character pointed by the pointer A33 is a dakuten or a half-dakuten (step 39). If it is a dakuten, a first constant is added to the 2-byte character code pointed to by the pointer B34 (step 38). If it is a semi-voiced point, a second constant is added to the 2-byte character code pointed by the pointer B34 (step 40). At this time, the constant is a 2-byte character code JIS kanji code (JIS X0208).
If it is, the value is 1 for the dakuten and 2 for the semi-dakuten.
This is based on the fact that the kana character codes of JIS are defined in the order of the kana character code of “Kiyon”, “Dakuon”, and “Semi-dakuon”. Then, if the processing of the above-mentioned dakuten and semi-dakuten is performed, 2 is added to the pointer A33 (step 41). If the processing of dakuten and semi-dakuten is not performed, 1 is added to the pointer A33 (step 2).
5). Then, 2 is added to the pointer B34 (step 26).

【0030】実施例3.実施例1では1バイト系のかな
文字を2バイト系のかな文字に変換する場合に全てカタ
カナ文字に変換していた。これは1バイト系のかな文字
としてカタカナしか存在しないためである。2バイト系
のかな文字にはカタカナ,ひらがなの両方が定義されて
いる。そこで、本実施例では1バイト系のかな文字を2
バイト系のひらがな文字に変換する。図6は実施例1で
使用したフローチャートにひらがな変換を追加したもの
である。図において、42から44は追加された処理ス
テップであり、本文中で説明する処理ステップに対応し
ている。また、21,24,25,26は図2のフロー
チャートで同じ番号の処理ステップに対応している。
Example 3. In the first embodiment, when converting 1-byte kana characters to 2-byte kana characters, all kana characters are converted to katakana characters. This is because only katakana exists as 1-byte kana characters. Both katakana and hiragana are defined for 2-byte kana characters. Therefore, in this embodiment, two 1-byte Kana characters are used.
Convert to byte-based Hiragana characters. FIG. 6 is a flowchart in which hiragana conversion is added to the flowchart used in the first embodiment. In the figure, reference numerals 42 to 44 denote added processing steps, which correspond to the processing steps described in the text. Further, reference numerals 21, 24, 25 and 26 correspond to processing steps having the same numbers in the flowchart of FIG.

【0031】また、図には記述していないが、外部から
の指示によりON/OFFする標識(フラグ)を用い
る。この標識はカタカナに変換するときにはOFFにな
り、ひらがなに変換するときにはONになる。この標識
をフラグBとする。
Although not shown in the figure, a mark (flag) which is turned on / off by an external instruction is used. This sign turns off when converting to katakana, and turns on when converting to hiragana. This sign is referred to as flag B.

【0032】次に動作について説明する。フラグAの状
態を判断し(ステップ21)、フラグAがOFFならば
1バイト系の文字コードの変換を行う(ステップ2
4)。ポインタA33を次の文字に進めるためポインタ
A33に1を加える(ステップ25)。つぎにフラグB
の状態を判断する(ステップ42)。フラグBがONな
らばポインタB34が指している2バイト系の文字コー
ドがかな文字の範囲かを判定する(ステップ43)。か
な文字ならばポインタB34が指している2バイト系の
文字コードの値から定数を減ずる(ステップ44)。こ
のときの定数は、2バイト系の文字コードがJISの漢
字コード(JIS X0208)であるならばカタカナ
とひらがなの2バイト系文字コードの差であり、どの文
字でも同一の値となる。これはJISの漢字コードで
は、カタカナとひらがなが一定の値を隔てて同一の並び
になっているからである。そしてポインタB34に2を
加える(ステップ26)。
Next, the operation will be described. The state of the flag A is judged (step 21), and if the flag A is OFF, the 1-byte character code is converted (step 2).
4). To advance the pointer A33 to the next character, 1 is added to the pointer A33 (step 25). Next, flag B
The state of is determined (step 42). If the flag B is ON, it is determined whether the 2-byte character code pointed to by the pointer B34 is in the kana character range (step 43). If it is a kana character, the constant is subtracted from the value of the 2-byte character code pointed to by the pointer B34 (step 44). The constant at this time is the difference between the 2-byte character codes of Katakana and Hiragana if the 2-byte character code is the JIS Kanji code (JIS X0208), and all characters have the same value. This is because in the JIS kanji code of JIS, katakana and hiragana are arranged in the same line with a certain value. Then, 2 is added to the pointer B34 (step 26).

【0033】以上のように、このデータ変換処理方式に
よれば、従来扱いにくかった1バイト系の文字コードと
2バイト系の文字コードが混在しているフィールドが、
全て2バイト系の文字コードに統一されるため、フィー
ルドの編集の作業の負担が軽くなる。これを図7で説明
する。
As described above, according to this data conversion processing method, a field in which a 1-byte character code and a 2-byte character code are mixed, which is difficult to handle conventionally,
Since all are unified into 2-byte character codes, the work of editing fields is lightened. This will be described with reference to FIG.

【0034】図7は、フィールドを2等分する処理を説
明する説明図である。図において、48は本発明による
データ変換処理方式により、1バイト系の文字コードが
2バイト系の文字コードに統一されたフィールドの例で
ある。49は2等分したデータの前半部分を格納するフ
ィールドである。50は2等分したデータの後半部分を
格納するフィールドである。フィールド48の内容を2
等分して前半部分フィールド49と後半部分フィールド
50にそれぞれ格納する処理である。このときの処理は
元のフィールド48のデータを単純に2等分する。そし
て、前半部分のデータは必ず2バイト系の文字コードで
終了しているので、前半部分フィールド49の最後にシ
フトアウトを付加する。また、後半部分では必ず2バイ
ト系の文字コードで始まっているため、後半部分フィー
ルド50の先頭にシフトインを付加する。このシフトコ
ードを付加する処理は固定的に行える。また、2等分さ
れる境界は必ず文字の切れ目となるため内部の文字コー
ドを判定する必要が全く無い。また、図8の混在フィー
ルド45と比較するとフィールドの長さが長くなってし
まうが、本発明の実施例2の濁点,半濁点の処理を行え
ばフィールドが長くなるのを抑えることができる。
FIG. 7 is an explanatory diagram for explaining a process of dividing a field into two equal parts. In the figure, reference numeral 48 is an example of a field in which a 1-byte character code is unified into a 2-byte character code by the data conversion processing method according to the present invention. Reference numeral 49 is a field for storing the first half of the bisected data. A field 50 stores the latter half of the data obtained by dividing the data into two equal parts. 2 in field 48
This is a process of equally dividing and storing in the first half partial field 49 and the second half partial field 50, respectively. The processing at this time simply divides the data of the original field 48 into two. Since the data of the first half portion always ends with the 2-byte character code, the shift-out is added to the end of the first half portion field 49. Also, since the latter half portion always starts with the 2-byte character code, the shift-in is added to the beginning of the latter half portion field 50. The process of adding the shift code can be fixedly performed. Further, since the boundary that is divided into two is always a break between characters, there is no need to judge the internal character code. Further, the length of the field becomes longer than that of the mixed field 45 in FIG. 8, but the lengthening of the field can be suppressed by performing the dakuten and semi-dakuten processing according to the second embodiment of the present invention.

【0035】また、実施例ではふれていないが、フィー
ルド48では必ず2バイト系の文字コードになることが
明らかなためシフトイン,シフトアウトは無くてもよい
ので、フィールドの長さをより短くすることができる。
Although not described in the embodiment, since it is clear that the field 48 always uses a 2-byte character code, there is no need for shift-in and shift-out, so the field length is made shorter. be able to.

【0036】また、実施例3のように、外部からカタカ
ナの文字をひらがなの文字に変換する指示を与えられる
ことにより、2バイト系の文字コードから定数を減算す
ることで、ひらがなの2バイト系の文字に変換すること
も可能である。
Further, as in the third embodiment, a constant is subtracted from a 2-byte character code by externally giving an instruction to convert a katakana character to a hiragana character. It is also possible to convert to the character.

【0037】また、実施例では原データファイル2を入
力し、それを中間ファイル6として出力するようにして
いるが、原データファイル2を入力し、データ変換手段
4においてデータ変換後、それをそのままデータ編集手
段9に渡して出力手段10から出力装置11に出力して
もよい。
In the embodiment, the original data file 2 is input and is output as the intermediate file 6. However, after inputting the original data file 2 and converting the data in the data converting means 4, it is left as it is. It may be passed to the data editing means 9 and output from the output means 10 to the output device 11.

【0038】[0038]

【発明の効果】以上のように、この発明によれば、一つ
のフィールドの中に1バイト系の文字コードと2バイト
系の文字コードが混在するデータを処理するデータ処理
装置において、1バイト系の文字コードに基づき、その
文字に対応する2バイト系の文字コードが参照可能なテ
ーブルを有し、このテーブルを用いて1バイト系の文字
コードを2バイト系の文字コードに変換する変換手段を
備え、一つのフィールドの中に1バイト系の文字コード
と2バイト系の文字コードが混在する場合に、1バイト
系の文字を対応する2バイト系の文字に置き換えるよう
にしたので、従来扱いにくかった1バイト系の文字コー
ドと2バイト系の文字コードが混在しているフィールド
が、全て2バイト系の文字コードに統一されるため、フ
ィールドの編集の作業の負担が軽くなるという効果があ
る。
As described above, according to the present invention, in a data processing device for processing data in which a 1-byte character code and a 2-byte character code are mixed in one field, the 1-byte character code is used. Based on the character code of, a table that can refer to a 2-byte character code corresponding to the character is provided, and conversion means for converting a 1-byte character code into a 2-byte character code using this table is provided. It has been prepared so that when a 1-byte character code and a 2-byte character code are mixed in one field, the 1-byte character is replaced with the corresponding 2-byte character. Fields in which 1-byte character code and 2-byte character code are mixed are unified into 2-byte character code. There is an effect that the work of the burden becomes lighter.

【0039】さらに、1バイト系のかな文字コードに濁
点,半濁点のコードが続く場合、上記1バイト系のかな
文字に対応する2バイト系の文字コードに所定の定数を
加算して、1バイト系のかな文字とそれに続く濁点,半
濁点を対応する2バイト系の濁音,半濁音の文字に置き
換えるようにすることにより、フィールドが長くなるの
を抑えることができ、フィールドに格納できるデータ長
をできるだけ長くすることができる効果がある。
Furthermore, when the kana character code of the 1-byte system is followed by the dakuten and semi-dakuten code, a predetermined constant is added to the 2-byte system character code corresponding to the 1-byte system kana character to obtain 1 byte. By replacing the Kana character of the system and the subsequent voiced sound and semi-voiced sound with the corresponding 2-byte character of voiced sound and semi-voiced sound, the length of the field can be suppressed and the data length that can be stored in the field can be reduced. The effect is that it can be made as long as possible.

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

【図1】この発明の一実施例によるデータ変換処理方式
のブロック構成図である。
FIG. 1 is a block diagram of a data conversion processing system according to an embodiment of the present invention.

【図2】データ変換手段の動作を示すフローチャートで
ある。
FIG. 2 is a flowchart showing the operation of the data conversion means.

【図3】データ変換手段で用いるデータを示す図であ
る。
FIG. 3 is a diagram showing data used by a data conversion unit.

【図4】1バイト系の文字コードを2バイト系の文字コ
ードに変換するデータ変換テーブルを示す図である。
FIG. 4 is a diagram showing a data conversion table for converting a 1-byte character code into a 2-byte character code.

【図5】この発明の一実施例による濁点,半濁点の処理
を示すフローチャートである。
FIG. 5 is a flowchart showing the processing of dakuten and semi-dakuten according to an embodiment of the present invention.

【図6】この発明の一実施例によるひらがな変換の処理
を示すフローチャートである。
FIG. 6 is a flowchart showing processing for hiragana conversion according to an embodiment of the present invention.

【図7】2バイト系文字コードに統一されたフィールド
を2等分する処理を説明する説明図である。
FIG. 7 is an explanatory diagram illustrating a process of dividing a field unified into a 2-byte character code into two equal parts.

【図8】1バイト系文字データと2バイト系文字データ
の混在するフィールドを2等分する処理を説明する説明
図である。
FIG. 8 is an explanatory diagram illustrating a process of equally dividing a field in which 1-byte character data and 2-byte character data coexist.

【図9】従来の混在フィールド制御方式のブロック構成
図である。
FIG. 9 is a block diagram of a conventional mixed field control method.

【図10】従来例においてビットマップが1ビットであ
るときに、フィールド中の2バイト系の文字データの位
置を相対的に表している関係図である。
FIG. 10 is a relational diagram relatively indicating the position of 2-byte character data in a field when the bitmap has 1 bit in the conventional example.

【図11】従来例においてビットマップが付加され、デ
ータ属性定義が変換された内部表現形式のレコードの実
例を示す説明図である。
FIG. 11 is an explanatory diagram showing an actual example of a record in an internal representation format in which a bitmap is added and a data attribute definition is converted in the conventional example.

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

1 データ形式変換部 2 原データファイル 3 原データ入力手段 4 データ変換手段 5 中間ファイル出力手段 6 中間ファイル 7 データ編集処理部 8 中間ファイル入力手段 9 データ編集手段 10 出力手段 11 出力装置 31 バッフアA 32 バッフアB 33 ポインタA 34 ポインタB 35 データ変換テーブル 1 Data Format Converter 2 Original Data File 3 Original Data Input Means 4 Data Converting Means 5 Intermediate File Output Means 6 Intermediate Files 7 Data Editing Processor 8 Intermediate File Input Means 9 Data Editing Means 10 Output Means 11 Output Devices 31 Buffer A 32 Buffer B 33 Pointer A 34 Pointer B 35 Data conversion table

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一つのフィールドの中に1バイト系の文
字コードと2バイト系の文字コードが混在するデータを
処理するデータ処理装置において、1バイト系の文字コ
ードに基づき、その文字に対応する2バイト系の文字コ
ードが参照可能なテーブルを有し、このテーブルを用い
て1バイト系の文字コードを2バイト系の文字コードに
変換する変換手段を備え、一つのフィールドの中に1バ
イト系の文字コードと2バイト系の文字コードが混在す
る場合に、1バイト系の文字を対応する2バイト系の文
字に置き換えることを特徴とするデータ変換処理方式。
1. A data processing device for processing data in which a 1-byte character code and a 2-byte character code are mixed in one field, and the character is dealt with based on the 1-byte character code. There is a table that can refer to 2-byte character codes, and a conversion means for converting a 1-byte character code into a 2-byte character code using this table is provided. A data conversion processing method characterized by replacing a 1-byte character with a corresponding 2-byte character when the character code and the 2-byte character code are mixed.
【請求項2】 一つのフィールドの中に1バイト系の文
字コードと2バイト系の文字コードが混在するデータを
処理するデータ処理装置において、1バイト系の文字コ
ードに基づき、その文字に対応する2バイト系の文字コ
ードが参照可能なテーブルを有し、このテーブルを用い
て1バイト系の文字コードを2バイト系の文字コードに
変換する変換手段を備え、一つのフィールドの中に1バ
イト系の文字コードと2バイト系の文字コードが混在す
る場合に、1バイト系の文字を対応する2バイト系の文
字に置き換えるとともに、1バイト系のかな文字コード
に濁点,半濁点のコードが続く場合、上記1バイト系の
かな文字に対応する2バイト系の文字コードに所定の定
数を加算して、1バイト系のかな文字とそれに続く濁
点,半濁点を対応する2バイト系の濁音,半濁音の文字
に置き換えることを特徴とするデータ変換処理方式。
2. In a data processing device for processing data in which a 1-byte character code and a 2-byte character code are mixed in one field, the character is dealt with based on the 1-byte character code. There is a table that can refer to 2-byte character codes, and a conversion means for converting a 1-byte character code into a 2-byte character code using this table is provided. When the 1-byte character code is replaced with the corresponding 2-byte character code, and the 1-byte character kana character code is followed by the dakuten and semi-voice code , A predetermined constant is added to the 2-byte character code corresponding to the 1-byte Kana character to correspond to the 1-byte Kana character and the subsequent dakuten and semi-dakuten. A data conversion processing method characterized by replacing with double-byte type voiced and semi-voiced voice characters.
JP4128135A 1992-04-21 1992-04-21 Data converting processing system Pending JPH05298065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4128135A JPH05298065A (en) 1992-04-21 1992-04-21 Data converting processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4128135A JPH05298065A (en) 1992-04-21 1992-04-21 Data converting processing system

Publications (1)

Publication Number Publication Date
JPH05298065A true JPH05298065A (en) 1993-11-12

Family

ID=14977274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4128135A Pending JPH05298065A (en) 1992-04-21 1992-04-21 Data converting processing system

Country Status (1)

Country Link
JP (1) JPH05298065A (en)

Similar Documents

Publication Publication Date Title
US7984076B2 (en) Document processing apparatus, document processing method, document processing program and recording medium
JPH05298065A (en) Data converting processing system
JPH05135025A (en) Document editor
JPS63254542A (en) Control system for mixed field
JPS62257570A (en) Kana/kanji converter
JPH05158757A (en) Dump output method
JPS6231375B2 (en)
JPH0721189A (en) Translation assisting system
JP3037046B2 (en) Network configuration statement list editing method
JPH08137885A (en) Multilingual document processor
JPH09223136A (en) Method for inspecting character and output device for inspected character
JPH10143496A (en) Document preparation device and input/output method for external character
JPH0895975A (en) Preparation method for logically structured document
JPS63184864A (en) Documentation device
JPS61260353A (en) Document processing system
JPS62232019A (en) Input system for mixed information of alpha-numeric and japanese language
JPH04113453A (en) Word processor
JPS61285534A (en) Index production system
JPS63174161A (en) Document processor
JPH0689283A (en) Character input correcting machine
JPS63296166A (en) Sentence editing device
JPH02250160A (en) Kanji code converting system
JPH10324039A (en) Method for changing print format interactively, and printer emulator
JPH0668071A (en) Document preparation/kanji conversion device
JPH0394367A (en) Japanese input system