JPH07319855A - Displaying method for character code - Google Patents

Displaying method for character code

Info

Publication number
JPH07319855A
JPH07319855A JP6110852A JP11085294A JPH07319855A JP H07319855 A JPH07319855 A JP H07319855A JP 6110852 A JP6110852 A JP 6110852A JP 11085294 A JP11085294 A JP 11085294A JP H07319855 A JPH07319855 A JP H07319855A
Authority
JP
Japan
Prior art keywords
character
code
character code
cursor
detected
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
JP6110852A
Other languages
Japanese (ja)
Inventor
Tatsuya Ueno
竜也 上野
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 Information Service Co Ltd
Original Assignee
NEC Information Service 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 NEC Information Service Co Ltd filed Critical NEC Information Service Co Ltd
Priority to JP6110852A priority Critical patent/JPH07319855A/en
Publication of JPH07319855A publication Critical patent/JPH07319855A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To automatically display a character code pointed out by a cursor on another arbitrary position on the same display screen of a computer or the like by arbitrary radix notation. CONSTITUTION:At the time of starting or immediately after starting, operation specification such as the radix, code system and a character display position is executed in a step 101. Then the internal code of a character corresponding to a cursor position is detected in a step 102 and the detected code is converted into objective character codes of one byte and two bytes by respective processing in steps 103 to 105. The converted codes are displayed on a screen by a step 106. Then a change in the character corresponding to the cursor position is detected by a step 107, and at the time of judging that an instruction is not an end instruction by a step 108, the processing is returned to the step 102 to repeat following processing. When a character change is not detected in the step 107, the processing of the step 107 is repeated, and at the time of judging an end instruction by the step 108, the processing ends.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字コード表示方法に
関し、特に、画面に文字を表示する装置における文字コ
ード表示方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character code display method, and more particularly to a character code display method in a device for displaying characters on a screen.

【0002】[0002]

【従来の技術】従来、この種の文字コード表示方法は、
CRT表示装置に表示された文字パターンのうちの所望
の文字パターンに対応するコード情報を知るために用い
られる。従来の文字コード表示方法の一例が、特公昭6
3―59188号公報に記載されている。この従来の文
字コード表示方法は、カーソル移動キーによって歩進さ
れた先にある文字の文字コードを、特定のファンクショ
ンキーを押すことによって別のCRT表示装置やプリン
タ装置などの他の出力装置に16進数4桁で表示あるい
は印字する。最初にCRT表示装置はクリアされカーソ
ルは画面の左上に位置し、キーボードの入力を待つ。こ
のとき、カーソル位置には文字がない状態なので、別に
設けた文字コード表示用CRT装置には4桁の「000
0」が表示される。次にキーボードから各種文字キーを
用いCRT装置上にて文章を作成する。そこで、任意の
時点にキーボード上に特に設定した文字コード表示用フ
ァンクションキーを押したとき、カーソルが指し示す位
置の文字の文字コードが、文字コード表示用CRT装置
に16進数4桁で表示される。
2. Description of the Related Art Conventionally, this type of character code display method is
It is used to know the code information corresponding to a desired character pattern among the character patterns displayed on the CRT display device. An example of a conventional character code display method is Japanese Patent Publication Sho 6
It is described in JP-A-3-59188. In this conventional character code display method, the character code of the character which is stepped forward by the cursor movement key is transferred to another output device such as another CRT display device or printer device by pressing a specific function key. Display or print in 4-digit base. Initially the CRT display is cleared and the cursor is located at the top left of the screen waiting for keyboard input. At this time, since there is no character at the cursor position, a 4-digit “000
"0" is displayed. Next, a sentence is created on the CRT device using various character keys from the keyboard. Therefore, when a specially set function key for character code display is pressed on the keyboard at an arbitrary time point, the character code of the character at the position indicated by the cursor is displayed on the character code display CRT device in four hexadecimal digits.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の文字コ
ード表示方法では、文字のコードを表示させる指令をフ
ァンクションの押下によって発行する必要があるため、
常時カーソル位置に当たる文字の文字コードを自動的に
変化させることができない。また、文字コードを表示す
る際の表示方法が、16進数4桁に限られており、1バ
イト系の文字と2バイト系の文字を混在させた文章は扱
いづらい。また、文字コードの表示は別に設けたCRT
表示装置が基本となり、同一CRT上の任意の位置に表
示することが難しい。また、文字コードの体系を指示す
る手段がなく、様々な文字コードに即座に対応すること
が難しい。
In the above-mentioned conventional character code display method, it is necessary to issue a command for displaying a character code by pressing a function.
It is not possible to automatically change the character code of the character that always hits the cursor position. Further, the display method for displaying the character code is limited to 4 hexadecimal digits, and it is difficult to handle a sentence in which 1-byte characters and 2-byte characters are mixed. In addition, the display of the character code is a separate CRT
Since the display device is the basis, it is difficult to display at any position on the same CRT. Further, there is no means for instructing the character code system, and it is difficult to deal with various character codes immediately.

【0004】[0004]

【課題を解決するための手段】本発明の文字コード表示
方法は、カーソルの移動およびカーソル位置の文字変化
を検出する第1ステップと、カーソル位置にある文字の
内部符号を検出する第2ステップと、前記内部符号から
文字の種別が1バイト系文字か2バイト系文字かを判断
する第3ステップと、前記内部符号を文字コードに変換
する第4ステップと、文字コードを画面の特定の位置へ
表示する第5ステップとを含むことを特徴とする。
A character code display method of the present invention comprises a first step of detecting movement of a cursor and a character change at the cursor position, and a second step of detecting an internal code of a character at the cursor position. , A third step of determining whether the character type is a 1-byte character or a 2-byte character from the internal code, a fourth step of converting the internal code to a character code, and a character code to a specific position on the screen. And a fifth step of displaying.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】例として、OSにUNIXとX−Wind
owsを採用したコンピュータの表示画面における実施
例を説明する。
As an example, the OS is UNIX and X-Wind.
An example of a display screen of a computer that adopts ows will be described.

【0007】図1は本発明の一実施例を示す流れ図であ
る。起動時、あるいは起動直後に、ステップ101にお
いて進数表記やコード体系、文字表示位置といった動作
指定が行われる。次にステップ102にてカーソル位置
に当たる文字の内部コード検出が行われ、ステップ10
3,104,105の各処理によって目的の文字コード
へ1バイトと2バイトの別に変換される。変換されたコ
ードはステップ106によって画面へ表示される。その
後ステップ107でカーソル位置に当たる文字の変更が
検出され、かつステップ108で終了指示ではないと判
断されたとき、ステップ102に戻り以降の処理を繰り
返す。ステップ107で文字の変更が検出されないとき
はステップ107を繰り返し、ステップ108で終了指
示と判断されたときは処理を終了する。
FIG. 1 is a flow chart showing an embodiment of the present invention. At the time of start-up or immediately after start-up, in step 101, operation designation such as a decimal notation, a code system, and a character display position is performed. Next, in step 102, the internal code of the character corresponding to the cursor position is detected, and in step 10
By each process of 3, 104 and 105, the target character code is converted into 1 byte and 2 bytes separately. The converted code is displayed on the screen in step 106. After that, when the change of the character corresponding to the cursor position is detected in step 107 and it is determined in step 108 that it is not the end instruction, the process returns to step 102 to repeat the subsequent processing. If no character change is detected in step 107, step 107 is repeated, and if it is determined in step 108 that an end instruction has been issued, the process ends.

【0008】図2は図1の実施例における表示画面を示
すイメージ図である。この例は、図の実施例をdisp
codeというプログラムによって実現し、画面上から
コマンド入力起動するものである。図2(a)は起動の
仕方を示している。起動することにより、文字種別判断
ステップとコード変換ステップにより、カーソル位置の
コードである「00」が得られ、図2(b)のように画
面表示ステップにより画面上に表示される。以降はカー
ソル1の移動やカーソル位置上の文字の変化が文字変化
検出ステップにより捉えられ、相応の文字コードを自動
的に表示する。図2(b)ではカーソル位置はヌルであ
るので、コード「00」が表示されているが、図2
(c)では「n」のコード「6E」が表示されている。
図2(d)では2バイトコードである「字」にカーソル
が位置づけられているため、「3B7A」が表示されて
いる。図2(e)は、動作指示の与え方の一例を示して
いる。ここでは、進数表示に2進数を指定するため、d
ispcodeに「n=2」というパラメータをもって
指示を与えている。これにより、図2(f)にようにカ
ーソル位置の文字コードは2進数で表示される。図2
(a)のようにパラメータを省略した場合、本例では1
6進数による表示となっている。同様に、文字コード体
系や表示位置などの指定を動作指定ステップで行うこと
ができる。
FIG. 2 is an image diagram showing a display screen in the embodiment of FIG. This example is a disp of the illustrated embodiment.
This is realized by a program called code, and command input is started from the screen. FIG. 2A shows how to start. Upon activation, the code "00" at the cursor position is obtained by the character type determination step and the code conversion step, and is displayed on the screen by the screen display step as shown in FIG. 2B. After that, the movement of the cursor 1 and the change of the character on the cursor position are detected by the character change detecting step, and the corresponding character code is automatically displayed. Since the cursor position is null in FIG. 2B, the code “00” is displayed.
In (c), the code "6E" of "n" is displayed.
In FIG. 2D, the cursor is positioned at the 2-byte code “letter”, so “3B7A” is displayed. FIG. 2E shows an example of how to give an operation instruction. Here, since a binary number is specified for the decimal number display, d
The instruction is given to the ispcode with the parameter "n = 2". As a result, the character code at the cursor position is displayed in binary as shown in FIG. Figure 2
If the parameter is omitted as in (a), it is 1 in this example.
It is displayed in hexadecimal. Similarly, the character code system and the display position can be specified in the operation specifying step.

【0009】本例では特定のOSを用いたコンピュータ
における例を示したが、ワードプロセッサのように画面
上で文字を扱う他の装置においても本発明を利用するこ
とができる。画面はマルチウィンドウでなくても、画面
上の任意の場所に重ねて表示すればよい。また、起動や
動作指定もパラメータと他にキーボードやマウス、その
他の方法で指定してもよい。
In this example, an example of a computer using a specific OS is shown, but the present invention can be applied to other devices such as a word processor which handles characters on the screen. The screen does not have to be a multi-window screen, but it may be displayed in an arbitrary place on the screen. Further, the activation and operation designation may be designated by a keyboard, a mouse, or other method in addition to the parameters.

【0010】[0010]

【発明の効果】以上説明したように、本発明は、カーソ
ル位置の変化やカーソル位置における文字の変化を自動
的に検出し、常にカーソル位置に当たる文字の文字コー
ドを同一画面上に表示するため、毎回文字コードの表示
を指令する手間をなくして簡便にて迅速に文字コードを
知ることができるという効果を奏する。
As described above, according to the present invention, since the change in the cursor position or the change in the character at the cursor position is automatically detected and the character code of the character corresponding to the cursor position is always displayed on the same screen, The effect that the character code can be known easily and quickly without the trouble of instructing the display of the character code every time.

【0011】また、1バイト系文字と2ハイド系文字を
混在させた文章において、その文字種を自動的に判断し
相応にして的確な表示ができるという効果を奏する。
In addition, in a sentence in which 1-byte characters and 2-hide characters are mixed, the character type can be automatically judged and appropriate display can be performed appropriately.

【0012】また、進数表記を任意に指定し表示できる
という効果を奏する。
Further, there is an effect that the decimal notation can be arbitrarily designated and displayed.

【0013】また、文字コード体系を任意に指定し表示
できるという効果を奏する。
Further, the character code system can be arbitrarily designated and displayed.

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

【図1】本発明の一実施例の流れ図である。FIG. 1 is a flow chart of one embodiment of the present invention.

【図2】図1の実施例での表示画面のイメージ図であ
る。
FIG. 2 is an image diagram of a display screen in the embodiment of FIG.

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

101〜108 ステップ 101-108 steps

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 カーソルの移動およびカーソル位置の文
字変化を検出する第1ステップと、カーソル位置にある
文字の内部符号を検出する第2ステップと、前記内部符
号から文字の種別が1バイト系文字か2バイト系文字か
を判断する第3ステップと、前記内部符号を文字コード
に変換する第4ステップと、文字コードを画面の特定の
位置へ表示する第5ステップとを含むことを特徴とする
文字コード表示方法。
1. A first step for detecting movement of a cursor and a character change at a cursor position, a second step for detecting an internal code of a character at the cursor position, and a character type of 1-byte character from the internal code. Or a 2-byte character, a fourth step of converting the internal code into a character code, and a fifth step of displaying the character code at a specific position on the screen. Character code display method.
【請求項2】 前記文字コードを表示する際の進数表記
を指示する第6ステップを含むことを特徴とする請求項
1記載の文字コード表示方法。
2. The character code display method according to claim 1, further comprising a sixth step of instructing a decimal notation when the character code is displayed.
【請求項3】 前記文字コードの画面表示位置を指示す
る第7ステップを含むことを特徴とする請求項1記載の
文字コード表示方法。
3. The character code display method according to claim 1, further comprising a seventh step of designating a screen display position of the character code.
【請求項4】 前記文字コードのコード体系を指示する
第8ステップを含むことを特徴とする請求項1記載の文
字コード表示方法。
4. The character code display method according to claim 1, further comprising an eighth step of instructing a code system of the character code.
JP6110852A 1994-05-25 1994-05-25 Displaying method for character code Pending JPH07319855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6110852A JPH07319855A (en) 1994-05-25 1994-05-25 Displaying method for character code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6110852A JPH07319855A (en) 1994-05-25 1994-05-25 Displaying method for character code

Publications (1)

Publication Number Publication Date
JPH07319855A true JPH07319855A (en) 1995-12-08

Family

ID=14546303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6110852A Pending JPH07319855A (en) 1994-05-25 1994-05-25 Displaying method for character code

Country Status (1)

Country Link
JP (1) JPH07319855A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57143630A (en) * 1981-03-02 1982-09-04 Canon Inc Output equipment
JPS6031181A (en) * 1983-07-30 1985-02-16 ぺんてる株式会社 Character display system
JPS6048530A (en) * 1983-08-26 1985-03-16 Toshiba Corp Displaying system of kanji associative code
JPS62209592A (en) * 1986-03-11 1987-09-14 株式会社東芝 Display system of document generator
JPS62246092A (en) * 1986-04-19 1987-10-27 ソ−ド株式会社 Full-angle cursor display unit
JPS62283391A (en) * 1986-05-30 1987-12-09 シャープ株式会社 Display editing system for hybrid system of more than one type of code
JPH02257276A (en) * 1989-02-10 1990-10-18 Pfu Ltd En-sized and em-sized character discriminating system
JPH0418663A (en) * 1990-05-11 1992-01-22 Sanyo Electric Co Ltd Display system for word processor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57143630A (en) * 1981-03-02 1982-09-04 Canon Inc Output equipment
JPS6031181A (en) * 1983-07-30 1985-02-16 ぺんてる株式会社 Character display system
JPS6048530A (en) * 1983-08-26 1985-03-16 Toshiba Corp Displaying system of kanji associative code
JPS62209592A (en) * 1986-03-11 1987-09-14 株式会社東芝 Display system of document generator
JPS62246092A (en) * 1986-04-19 1987-10-27 ソ−ド株式会社 Full-angle cursor display unit
JPS62283391A (en) * 1986-05-30 1987-12-09 シャープ株式会社 Display editing system for hybrid system of more than one type of code
JPH02257276A (en) * 1989-02-10 1990-10-18 Pfu Ltd En-sized and em-sized character discriminating system
JPH0418663A (en) * 1990-05-11 1992-01-22 Sanyo Electric Co Ltd Display system for word processor

Similar Documents

Publication Publication Date Title
JPH07319855A (en) Displaying method for character code
JPH0744343A (en) Automatic generating device for operation support information
JPS5819936A (en) Kanji (chinese character) input device
JP2710442B2 (en) First and last name kana-kanji conversion method
JPH07244550A (en) Key sequence setting device
JP2900071B2 (en) Programming device for programmable controller
JPH02297674A (en) System for supporting multi-media processing
JPH0736597A (en) Method for changing multilingual keyboard configuration and code page
JP2000132316A (en) Input device using keyboard device
JPH0736879A (en) 'kana'/'kanji' conversion control device and its control method
JPS62266618A (en) Address book control file retrieval system for document generating device
JPH096586A (en) Graphical user interface operation unit
JPH05143051A (en) Reduced character generating method
JPS61127063A (en) Kana conversion method
JPH06119391A (en) Chinese character string extraction system
JPH07325703A (en) Data converting device/method
JPH01103765A (en) Data outputting system
JPH02289027A (en) Roman character/kana conversion display system
JPH02255910A (en) Function selecting system
JPH07244549A (en) Data terminal equipment
JPH04199358A (en) Document processor
JPH06290149A (en) Function execution support system and function registering method for information processor
JPH06102981A (en) Keyboard device
JPH04130960A (en) Conversion method for symmetric group characters
JPH02176857A (en) Input system in document preparing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19961112