
Code-Processing Tools
|
621
is tool, as you might expect, uses many of the code conversion algorithms and routines
described earlier in this chapter. e remainder is simply fancy formatting of the output.
Now for this tool’s help page:
** jcode v3.0 (July 1, 1993) **
Written by Ken R. Lunde, Adobe Systems Incorporated
lunde@adobe.com
Usage: jcode [-options] [infile] [outfile]
Tool description: This tool is a utility for displaying the electronic values
of Japanese characters within textfiles, and supports Shift-JIS, EUC, New-JIS,
Old-JIS, and NEC-JIS for both input and output.
Options include:
-c[DATA] Reads codes, one per line, rather than characters as input --
if DATA is specified, only that code is treated, then exits
(KUTEN codes must be prefixed with "k," and EUC codes with
"x" -- EUC, JIS, and Shift-JIS codes must be hexadecimal)
-h Displays this help page, then exits
-iCODE Forces input code to be recognized as CODE
-n[NOTATION] Output notation set to NOTATION (default is hexadecimal if this
option is not specified, if NOTATION is not specified, or if
the specified NOTATION is invalid)
-o[CODE] Output code set to CODE (default is Shift-JIS if this option
is not specified, if CODE is not specified, or if the
specified CODE is invalid)
-p[CHOICE] Pads the columns with CHOICE whereby CHOICE can be either "t"
for tabs or "s" for spaces (default is spaces if this option
is not specified, ...