CALL AKCNV
This page was last modified 19:17, 14 March 2018 by Mars2000you.

Contents

Effect

Converts almost all 1-byte characters (Hankaku) into 2-byte characters (Zenkaku), and substitues them into a character string.

Note: This instruction doesn't work with 1-byte hiraganas.

Syntax

CALL AKCNV (B$,A$)

Parameters

A$ is the original string of characters (character constant, variable, array variable or expression)
B$ is the converted string of characters (variable of character type)

Example

CALL AKCNV(B$,"ABC漢字アイウエオ"):PRINT B$
ABC漢字アイウエオ

In the A$ string, only "ABC" and "アイウエオ" were converted, since they were hankaku (1-bye) and the other characters were already zenkaku (2-byte).

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

CALL KACNV, CALL KEXT, CALL KLEN, CALL KTYPE

Compatibility

Kanji BASIC