CALL JIS
This page was last modified 03:14, 29 November 2016 by Mars2000you.

Contents

Effect

Returns the JIS (Japanese Industrial Standard) code of the first character in a string A$ with Japanese characters when this character is a 2-byte or zenkaku character.

JIS is the standard way for encoding Japanese characters.

Syntax

CALL JIS(B$,A$)

Parameters

A$ is the string of characters (character constant, variable, array variable or expression)
B$ is the JIS code (hexadecimal, 4 digits) of the first character in the string A$ when it's a 2-byte character

Example

CALL JIS(B$,"漢字"):PRINT B$
 3441

Hankaku/Zenkaku

In the Japanese language, the following characters are hankaku (1-byte) : English alphabets, numbers, western punctuation, unaccented katakanas and hiraganas, Japanese punctuation, Japanese accents.

In the Zenkaku, 2-byte characters, you find all hiraganas and katakanas, both accented and unaccented, English alphabets, special pictograms like large circles and measurement terms, Greek and Russian fonts, and thousands of kanjis. These are contained in the big Kanji ROM (128kB if JIS1, 256kB if JIS1+JIS2).

Related to

ASC(), CALL KNJ, CALL SJIS

Compatibility

Kanji BASIC