= Code conversion
CV [e2s|s2e|e2e|s2s|s2j|j2s|e2j|j2e] [z] [NX] [.lab1 .lab2]
CV {s2u|u2s|s2f|f2s|u2f|f2u} [bom] [be|le] [ibm|nec]
[\u] ['err-rep-char']
CV {b2s|s2b|b2a|a2b} [CRLF|ANK] [CP290] [JIS78] [-S[a|d|r]|-SBCS]
['err-rep-char']@
CV {K2L|L2K}
CV x2c [EBC] [i[-m[:{n|max|rep}]]] [mult | -Hpre[XXpost]]
[CRLF|ANK] [CP290] [JIS78] [-S[bcs|a|d|r]
DOS version support 1st format only.
[NX] and [.lab1 .lab2] is common to all format.
Utility XCV is contained in the zip file.
e2s :EUC -->SJIS
s2e :SJIS-->EUC
s2s :SJIS hankaku-katakana-->zenkaku-katakana
e2e :EUC hankaku-katakana-->zenkaku-katakana
s2j/j2s :SJIS<-->JIS
e2j/j2e :EUC <-->JIS
s2u/u2s :SJIS<-->UCS2(2byte Unicode)
s2f/f2s :SJIS<-->UTF8(8 bit UTF)
u2f/f2u :UCS2<-->UTF8
b2s/s2b :IBM-EBCDIC<-->SJIS(Japanese DBCS conversion).
b2a/a2b :IBM-EBCDIC<-->ASCII SBCS(SO/SI(0x0e/0x0f) is ignored).
k2L/L2k :HankakuKatakana<-->EnglishLowerCase letter.
When EBCDIC-->ASCII translated lowercase letter to
hankaku-katakana,re-translate the file to recover
lowercase letter.
k2L:re-conv by CP1027 the result of CP290
L2k:re-conv by CP290 the result of CP1027
x2c :convert hex notation string to char(ignore space).
z :hankaku-katakana-->zenkaku-katakana
#ifdef UNX
z of e2e if conversion type missing.
#else
z of s2s if conversion type missing.
#endif
BOM :Check/Write BOM(UTF-8 type mark) on top of file.
effective for u2f,s2f,f2u,f2s.
BE/LE :unicode endian type.default is BE for UNIX else LE.
use with u2s,u2f,s2u,f2u.
IBM/NEC :for the case multiple SJIS code point for a unicode,
specify target mapping region.
use with u2s,f2s. default is IBM.
JIS78 :DBCS conversion by OLD-JIS sequence.
default is JIS83(NEW-JIS) sequence.
ANK :replace control char by 'err-rep-char',
\u :\uxxxx format unicode input conversion(u2s,u2f).
:\uxxxx format unicode output conversion(s2u,f2u).
CRLF :replace control char except CR,LF by 'err-rep-char'.
EBC :After x2c,do IBM-EBCDIC-->ASCII translation.
CP290 :use IBM-CP290(katakana extension) for SBCS conversion.
default table for SBCS conversion is IBM-CP1027
(english lowercase letter extension).
this option is also avail for X2C with EBC option.
i[-m[:{n|max|rep}]]
:Input column. default is TopOfLine. Up to EndOfLine
when m is missing.
n:Output column. default is TopOfLine.
max:Output to th right of longest line.
rep:convert hex digit in the place.
mult :continue hex conversion process even if invalid hex digit
detected.
-Hpre[XXpost]:convert between prefix and postfix.
XX is delimitter of prefix and postfix.
ex). -H0x' -Hx'xx'
-S[a|d|r|bcs]
a :assume SO on the top of line.
bcs :SBCS mode(no DBCS coinsideration)
d :del SO(0x0e)/SI(0x0f) for B2S.
SO/SI is not set for S2B.
r :for S2B;replace adjacent space char by SO/SI or insert
SO/SI if no adjacent space char.
default is replace SO/SI by space for B2S,
insert SO/SI for S2B.
err-rep-char:replacing char for the unicode with no corresponding
SJIS code.
use with u2s,f2s. default is '?'.
NX :limit the line to be converted to not excluded line.
.lab1/2 :limit the line to be converted to that label range.