1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
.TP
output encoding [ euc | sjis | jis...]
Used to set exactly what kind of encoding should be used for
program output (also see the
.I "input encoding"
command). Used when the
.I encoding
command is not detailed enough for one's needs.
If no argument is given, reports the current output encoding.
Otherwise, arguments can usually be any reasonable dash-separated
combination of:
.RS 5n
.TP
euc\ \ \ \
Selects EUC for the output encoding.
.TP
sjis\ \ \
Selects Shift-JIS for the output encoding.
.TP
jis[78|83|90][-ascii|-roman]
Selects JIS for the output encoding.
If no year (78, 83, or 90) given, 78 is used. Can optionally specify
that\c
.Q English
should be encoded as regular
.I ASCII
(the default when JIS selected) or as
.IR "JIS-ROMAN" .
.TP
212\ \ \
Indicates that JIS X0212-1990 should be supported (ignored for
Shift-JIS output).
.TP
no212\ \ \
Indicates that JIS X0212-1990 should be not be supported (default setting).
This places JIS X0212-1990 characters under the domain of
.IR disp ,
.IR nodisp ,
.IR code ,
or
.IR mark
(described below).
.TP
hwk\ \ \
Indicates that \fIh\fPalf \fIw\fPidth \fIk\fPana should be left
as-is (default setting).
.TP
nohwk\ \ \
Indicates that \fIh\fPalf \fIw\fPidth \fIk\fPana should be stripped from
the output.
.I "(not yet implemented)."
.TP
foldhwk\ \ \
Indicates that \fIh\fPalf \fIw\fPidth \fIk\fPana should be folded to their
full-width counterparts.
.I "(not yet implemented)."
.TP
disp\ \ \
Indicates that
.I non-displayable
characters (such as JIS X0212-1990 while
the output encoding method is Shift-JIS) should be passed along anyway
(most likely resulting in screen garbage).
.TP
nodisp\ \ \
Indicates that
.I non-displayable
characters should be quietly stripped from the output.
.TP
code\ \ \
Indicates that
.I non-displayable
characters should be printed as their octal codes (default setting).
.TP
mark\ \ \
Indicates that
.I non-displayable
characters should be printed as\c
.Q ". "
.PP
Of course, not all options make sense in all combinations, or at all times.
When the current (or new) output encoding is reported, a complete
and exact specifier representing the output encoding selected.
An example might be\c
.Q jis78-ascii-no212-hwk-code ". "
.RS -5n
|