Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ jconv(1J) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

JCONV(1J)  —  UNIX Programmer’s Manual

NAME

jconv − convert Kanji codes

SYNOPSIS

jconv [ option ] file ... 
jis file ... 

DESCRIPTION

jconv reads the specified files in order, converts them into another Kanjicode and output to the Stdout. When the file is unspecified, the standard input is used. 

If no opution is used, jconv will automatically declide the input Kanji codes and convert it into the internal Kanji codes of environmental variable SYS_CODE (or SYS_KANJI). 

The option synopsis is −xyz whose description is given below:

x  input code
sShift JIS code
eExtended Unix code (EUC)
jJIS code (any desired escape sequence)
 y  output code
sShift JIS code
eExtended Unix code (EUC)
jJIS code  ESC$B ESC(J
JBBJIS code  ESC$B ESC(B
JBJJIS code  ESC$B ESC(J
JBHJIS code  ESC$B ESC(H
J@BJIS code  ESC$@ ESC(B
J@JJIS code  ESC$@ ESC(J
J@HJIS code  ESC$@ ESC(H
 z  output Kana code (output code in JIS code only)
NoneJIS 8-bit code
kJIS Kana (Japanese character)  ESC(I
7JIS 7-bit code   SO/SI

Uppercase characters may be used for the options indicated in lowercase. 

The jis command converts the JIS code into the internal Kanji (Chines character) code.  Jis is linked to jconv in this version. 

EXAMPLE

jconv −je fileConverts JIS code into EUC
jconv −SJBBK fileConverts shift JIS code into JIS code
(new JIS Kanji character-set, ASCII character-set,
and JIS Kana character-set)

NOTE

The −t and −v options used in NEWS-OS release 3.2 are no longer available.  Use cat(1) instead.

The escape sequence using j and J of the output code specification has been changed to ESC$B ESC(J. 

i,I,n, N,b, and B are retained as before for compatibility. 

ESC$B is used to select the new JIS Kanji character-set; ESC$@ to select the old JIS Kanji character-set; ESC(B to select the ASCII character-set; and ESC(J to select the JIS alphabet character-set. 

ESC(H is used to select the character-set for Swedish names.  ESC(H is retained, however, since there are many terminals that use the sequence for the JIS alphabet character-set.  Normally, do not use ESC(H. 

When the output is converted into JIS code after selecting the Kanji character-set, the escape sequence output for selecting alphabet characters is sent before sending the control codes such as a newline character (0x0a), tab (0x09), space (0x20) and deletion (0x7f).  This is a verbose process, but it improves the operability with the Unix commands, which process text by a line at a time. 

SEE ALSO

cat(1)

NEWS-OSRelease 3.3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026