Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ jconv(1J) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

JCONV(1J)  —  NEWS-OS 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 Kanji code and output to the standard out.  When the file is unspecified, the standard input is used. 

If no opution is used, jconv will automatically declide the input Kanji code and convert it into the internal Kanji code of environment variable LC_CTYPE or LANG. 

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)
NoneKanji code of environment variable LC_CTYPE or LANG
 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)
None8-bit JIS code
88-bit JIS code
77-bit JIS code with SO/SI
k7-bit JIS code with ESC(I to designate the JIS Katakana

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

The jis command converts the JIS code into the internal Kanji code.  jis is linked to jconv in this version. 

EXAMPLE

jconv −je fileConverts JIS code into EUC

jconv −SJBBK file
Converts Shift-JIS code into JIS code (new JIS Kanji, ASCII, and JIS Katakana character-set)

jconv file | jconv −j
Converts any code into JIS code

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 designate the new JIS Kanji character-set; ESC$@ to designate the old JIS Kanji character-set; ESC(B to designate the ASCII character-set; ESC(J to designate the JIS Roman character-set; and ESC(I to designate the JIS Katakana character-set. 

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

When the output is specified to be converted into JIS code and the Kanji character-set is designated, the escape sequence output for designating Roman 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)

BUGS

If no options are specified, the entry code is distincted automatically.  The distincted code is only ~hift-JIS, EUC, 8-bit-JIS, 7-bit-JIS with ESC(I, but 7-bit-JIS with SO/SI will not be supported. 

NEWS-OSRelease 4.1C

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