You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nkf/SOURCES/nkf.1j

683 lines
23 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\" ========================================================================
.\"
.IX Title "nkf 1"
.TH nkf 1 "2013-11-22" "nkf 2.1.3" " "
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
nkf \- $B%M%C%H%o!<%/MQ4A;z%3!<%IJQ49%U%#%k%?(B
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
nkf \fB[\-butjnesliohrTVvwWJESZxXFfmMBOcdILg]\fR \fB[\fR\fIfile ...\fR\fB]\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBnkf\fR $B$O%M%C%H%o!<%/$G%a!<%k$d%K%e!<%9$NFI$_=q$-$r$9$k$?$a$K:n$i$l$?!"4A;z%3!<%I$NJQ49%U%#%k%?$G$"$k!#(B
.PP
$B$3$N(B\fBnkf\fR$B$NFCD'$H$7$F$O!"F~NO4A;z%3!<%I7O$NE}7WE*$J<+F0G'<15!G=$,$"$k!#(B
$B$3$N$?$a!"MxMQ<T$O!"F~NO4A;z%3!<%I7O$,2?$G$"$k$+$rCN$i$J$/$F$b!"=PNO4A;z%3!<%I7O$N$_;XDj$9$l$PNI$$$3$H$K$J$k!#(B
$B$?$@!"$3$NH=Dj5!9=$O!"M}O@E*$K$O40A4$G$O$J$$$,!"DL>o$N%K%e!<%9$d%a!<%k$N%a%C%;!<%8$K$D$$$F$O3N<B$KF0:n$9$k0BA4$J$b$N$K$O$J$C$F$$$k!#(B
.PP
$B8=:_!"(B\fBnkf\fR$B$,G'<1$G$-$kF~NO$N4A;z%3!<%I7O$O!"$$$o$f$k(B \s-1JIS\s0 $B%3!<%I(B (\s-1ISO\-2022\-JP\s0 $B$K4p$E$/$b$N(B)$B!"(BShift_JIS (\s-1MS\s0 $B4A;z%3!<%I(B)$B!"(B
$BF|K\8l(B \s-1EUC\s0 (\s-1AT&T\s0 $B%3!<%I(B)$B!"(BUTF\-8$B!"(BUTF\-16 $B$N$$$:$l$+$G$"$k!#(B
$B=PNO$9$k4A;z%3!<%I7O$b!"$3$l$i$G$"$k!#(B
$BF~NO$O!"%U%!%$%k$r;XDj$7$J$1$l$P!"I8=`F~NO$H$J$k!#(B
$B=PNO$OI8=`=PNO$G$"$k!#(B
.SH "OPTIONS"
.IX Header "OPTIONS"
$B;XDj$G$-$k%*%W%7%g%s$O!"0J2<$NDL$j!#(B
\&\fB\-mu\fR $B$N$h$&$KB3$1$k$3$H$,$G$-$k!#(B
.IP "\fB\-j\fR" 4
.IX Item "-j"
\&\s-1JIS\s0 $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-e\fR" 4
.IX Item "-e"
\&\s-1EUC\s0 $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-s\fR" 4
.IX Item "-s"
Shift_JIS $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-w \-w8[0] \-w16[\s-1BL\s0][0]\fR" 4
.IX Item "-w -w8[0] -w16[BL][0]"
Unicode $B$r=PNO$9$k!#(B
.RS 4
.IP "\fB\-w \-w80\fR" 4
.IX Item "-w -w80"
\&\s-1UTF8\s0 $B%3!<%I$r=PNO$9$k!#(B (\s-1BOM\s0 $BL5$7(B)
.IP "\fB\-w8\fR" 4
.IX Item "-w8"
\&\s-1UTF8\s0 $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-w16 \-w16B0\fR" 4
.IX Item "-w16 -w16B0"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Big Endian / \s-1BOM\s0 $BL5$7(B)
.IP "\fB\-w16B\fR" 4
.IX Item "-w16B"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Big Endian / \s-1BOM\s0 $BM-$j(B)
.IP "\fB\-w16L\fR" 4
.IX Item "-w16L"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Little Endian / \s-1BOM\s0 $BM-$j(B)
.IP "\fB\-w16L0\fR" 4
.IX Item "-w16L0"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Little Endian / \s-1BOM\s0 $BL5$7(B)
.RE
.RS 4
.RE
.IP "\fB\-m[\s-1BQSN0\s0]\fR" 4
.IX Item "-m[BQSN0]"
\&\s-1MIME\s0 $B$r2rFI$9$k!#(B($B%G%U%)%k%H(B)
\&\s-1ISO\-2022\-JP\s0 (B encode) $B$H(B \s-1ISO\-8859\-1\s0 (Q encode) $B$N$_$r2rFI$9$k!#(B
\&\s-1ISO\-8859\-1\s0 (Latin\-1) $B$r2rFI$9$k;~$O!"(B\fB\-l\fR $B%U%i%0$bI,MW$G$"$k!#(B
\&\fB\-m0\fR $B$G$O(B \s-1MIME\s0 $B$r2rFI$7$J$$!#(B
\&\fB\-mB\fR, \fB\-mQ\fR $B$G$O!"(BBASE64, Q encode $B$5$l$F$$$k$b$N$H$7$F=hM}$9$k!#(B
.RS 4
.IP "\fB\-mB\fR" 4
.IX Item "-mB"
\&\s-1MIME\s0 base64 stream $B$r2rFI$9$k!#(B
$B%X%C%@$J$I$O<h$j=|$/$3$H!#(B
.IP "\fB\-mQ\fR" 4
.IX Item "-mQ"
\&\s-1MIME\s0 quoted stream $B$r2rFI$9$k!#(B
.IP "\fB\-mS\fR" 4
.IX Item "-mS"
\&\s-1MIME\s0 $B$N%A%'%C%/$r87$7$/$9$k(B ($B%G%U%)%k%H(B)
.IP "\fB\-mN\fR" 4
.IX Item "-mN"
\&\s-1MIME\s0 $B$N%A%'%C%/$r4K$/$9$k(B
.IP "\fB\-m0\fR" 4
.IX Item "-m0"
\&\s-1MIME\s0 $B$r2rFI$7$J$$!#(B
.RE
.RS 4
.Sp
\&\fB\-mS\fR $B$O!"@k8@$NFbMF$H!"$=$N8e$KB3$/(B encoded-text $B$N@09g@-$r%A%'%C%/$9$k!#(B
\&\fB\-mN\fR $B$O!"2~9T$G@Z$i$l$?(B \s-1MIME\s0 $B$J$I$b2rFI$9$k!#2rFI$,;_$^$i$J$$$3$H$b$"$k!#(B
.RE
.IP "\fB\-M[\s-1BQ\s0]\fR" 4
.IX Item "-M[BQ]"
\&\s-1MIME\s0 $B$KJQ49$9$k!#(B
.RS 4
.IP "\fB\-M\fR" 4
.IX Item "-M"
$B%X%C%@7A<0$KJQ49$9$k(B
.IP "\fB\-MB\fR" 4
.IX Item "-MB"
base64 stream $B$KJQ49$9$k(B
.IP "\fB\-MQ\fR" 4
.IX Item "-MQ"
Quoted stream $B$KJQ49$9$k(B
.RE
.RS 4
.RE
.IP "\fB\-J \-E \-S \-W\fR" 4
.IX Item "-J -E -S -W"
$B4|BT$5$l$kF~NO%3!<%I$N@-<A$r;XDj$9$k!#(B
.RS 4
.IP "\fB\-J\fR" 4
.IX Item "-J"
\&\s-1ISO\-2022\-JP\s0 $B$r2>Dj$9$k!#(B
.IP "\fB\-E\fR" 4
.IX Item "-E"
$BF|K\8l(B \s-1EUC\s0 (\s-1AT&T\s0) $B$r2>Dj$9$k!#(B
.IP "\fB\-S\fR" 4
.IX Item "-S"
Shift_JIS $B$r2>Dj$9$k!#(B
$B$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B) $B$b<u$1F~$l$k!#(B
.IP "\fB\-W\fR" 4
.IX Item "-W"
\&\s-1UTF\-8\s0 $B$r2>Dj$9$k!#(B
.IP "\fB\-W8\fR" 4
.IX Item "-W8"
\&\s-1UTF\-8\s0 $B$r2>Dj$9$k!#(B
.IP "\fB\-W16\fR" 4
.IX Item "-W16"
\&\s-1UTF\-16\s0 (Little Endian)$B$r2>Dj$9$k!#(B
.IP "\fB\-W16B\fR" 4
.IX Item "-W16B"
\&\s-1UTF\-16\s0 (Big Endian)$B$r2>Dj$9$k!#(B
.IP "\fB\-W16L\fR" 4
.IX Item "-W16L"
\&\s-1UTF\-16\s0 (Little Endian)$B$r2>Dj$9$k!#(B
.RE
.RS 4
.RE
.IP "\fB\-x\fR" 4
.IX Item "-x"
$BDL>o$*$3$J$o$l$k!"$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B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N5-9f$r(B \s-1ASCII\s0 $B$KJQ49$9$k!#(B
$B$D$^$j!"A43Q$rH>3Q$KJQ49$9$k!#(B
.RS 4
.IP "\fB\-Z \-Z0\fR" 4
.IX Item "-Z -Z0"
Convert X0208 alphabet to \s-1ASCII\s0.
.IP "\fB\-Z1\fR" 4
.IX Item "-Z1"
\&\s-1JIS\s0 X 0208 $BOB;z4V3V$r(B \s-1ASCII\s0 space $B0l$D$KJQ49$9$k!#(B
.IP "\fB\-Z2\fR" 4
.IX Item "-Z2"
\&\s-1JIS\s0 X 0208 $BOB;z4V3V$r(B \s-1ASCII\s0 space $BFs$D$KJQ49$9$k!#(B
.IP "\fB\-Z3\fR" 4
.IX Item "-Z3"
$B!d!"!c!"!I!"!u!"$r(B &gt;$B!"(B&lt;$B!"(B&quot;$B!"(B&amp; $B$KJQ49$9$k!#(B
.RE
.RS 4
.RE
.IP "\fB\-b\fR" 4
.IX Item "-b"
$B%P%C%U%!%j%s%0=PNO$r9T$&!#(B($B%G%U%)%k%H(B)
.IP "\fB\-u\fR" 4
.IX Item "-u"
$B=PNO;~$K!"%P%C%U%!%j%s%0$7$J$$!#(B
ssh localhost | nkf \-u $B$H$$$&$h$&$K;H$&!#(B
.IP "\fB\-t\fR" 4
.IX Item "-t"
$B2?$b$7$J$$!#(B
.IP "\fB\-I\fR" 4
.IX Item "-I"
\&\s-1ISO\-2022\-JP\s0 $B0J30$N4A;z%3!<%I$r".$KJQ49!#(B
.IP "\fB\-i[@B]\fR" 4
.IX Item "-i[@B]"
\&\s-1JIS\s0 $B4A;z$r;X<($9$k%7!<%1%s%9$r;XDj$9$k!#(B
.RS 4
.IP "\fB\-i@\fR" 4
.IX Item "-i@"
\&\s-1JIS\s0 X 0208\-1978 $B$rMQ$$$k!#(B
.IP "\fB\-iB\fR" 4
.IX Item "-iB"
\&\s-1JIS\s0 X 0208\-1983/1990 $B$rMQ$$$k!#(B
.RE
.RS 4
.RE
.IP "\fB\-o[\s-1BJH\s0]\fR" 4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$&$N$GCm0U!#(B
$B%U%!%$%kL>$,$J$$>l9g$O(B nkf.out$B!#(B
.IP "\fB\-L[uwm] \-d \-c\fR" 4
.IX Item "-L[uwm] -d -c"
$B2~9T%3!<%I$rJQ49$9$k!#(B
.RS 4
.IP "\fB\-Lu \-d\fR" 4
.IX Item "-Lu -d"
unix (\s-1LF\s0)
.IP "\fB\-Lw \-c\fR" 4
.IX Item "-Lw -c"
windows (\s-1CRLF\s0)
.IP "\fB\-Lm\fR" 4
.IX Item "-Lm"
mac (\s-1CR\s0)
.RE
.RS 4
.Sp
$B%G%U%)%k%H$G$OJQ49$7$J$$!#(B
.RE
.IP "\fB\-\-ic=<input_codeset\fR \-\-oc=<output_codeset>>" 4
.IX Item "--ic=<input_codeset --oc=<output_codeset>>"
$BF~NO!&=PNO$N4A;z%3!<%I7O$r;XDj$7$^$9!#(B
.RS 4
.IP "\fB\s-1ISO\-2022\-JP\s0\fR" 4
.IX Item "ISO-2022-JP"
$B$$$o$f$k(B \s-1JIS\s0 $B%3!<%I!#(B\fB\-j, \-J\fR $B$HF1$8!#(B
.IP "\fB\s-1ISO\-2022\-JP\-1\s0\fR" 4
.IX Item "ISO-2022-JP-1"
\&\s-1RFC\s0 2237 $B$KDj$a$i$l$?7A<0!#(B \s-1JIS\s0 X 0212 $B$r4^$`!#(B
.IP "\fB\s-1ISO\-2022\-JP\-3\s0\fR" 4
.IX Item "ISO-2022-JP-3"
\&\s-1RFC\s0 2237 $B$KDj$a$i$l$?7A<0!#(B \s-1JIS\s0 X 0213 $B$r4^$`!#(B
.IP "\fBEUC-JP\fR" 4
.IX Item "EUC-JP"
\&\s-1EUC\s0 $B%3!<%I!#(B\fB\-e, \-E\fR $B$HF1$8!#(B
.IP "\fB\s-1EUC\-JISX0213\s0\fR" 4
.IX Item "EUC-JISX0213"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2000 $B$rMQ$$$?(B EUC\-JP$B!#(B
.IP "\fB\s-1EUC\-JIS\-2004\s0\fR" 4
.IX Item "EUC-JIS-2004"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2004 $B$rMQ$$$?(B EUC\-JP$B!#(B
.IP "\fBeucJP-ascii\fR" 4
.IX Item "eucJP-ascii"
$B%*!<%W%s%0%k!<%WF|K\%Y%s%@6(5D2q$,Dj5A$7$?(B eucJP\-ascii$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fBeucJP-ms\fR" 4
.IX Item "eucJP-ms"
$B%*!<%W%s%0%k!<%WF|K\%Y%s%@6(5D2q$,Dj5A$7$?(B euc\-JPms$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fB\s-1CP51932\s0\fR" 4
.IX Item "CP51932"
Micorosft Code Page 51932$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fBShift_JIS\fR" 4
.IX Item "Shift_JIS"
Shift_JIS$B!#(B
\&\fB\-s, \-S\fR $B$HF1$8!#(B
.IP "\fBShift_JISX0213\fR" 4
.IX Item "Shift_JISX0213"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2000 $B$rMQ$$$?(B Shift_JIS$B!#(B
.IP "\fBShift_JIS\-2004\fR" 4
.IX Item "Shift_JIS-2004"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2004 $B$rMQ$$$?(B Shift_JIS$B!#(B
.IP "\fB\s-1CP932\s0\fR" 4
.IX Item "CP932"
Micorosft Code Page 932$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fB\s-1UTF\-8\s0 \s-1UTF\-8N\s0\fR" 4
.IX Item "UTF-8 UTF-8N"
\&\s-1BOM\s0 $BL5$7$N(B UTF\-8$B!#(B
\&\fB\-w, \-W\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-8\-BOM\s0\fR" 4
.IX Item "UTF-8-BOM"
\&\s-1BOM\s0 $BIU$-$N(B UTF\-8$B!#(B\fB\-w8\fR $B$^$?$O(B \fB\-W\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF8\-MAC\s0\fR" 4
.IX Item "UTF8-MAC"
UTF8\-MAC$B!#8_49J,2r$5$l$?$R$i$,$J!&%+%?%+%JEy$r7k9g$7$^$9!#(B
$BF~NO$N$_$NBP1~$G$9!#(B
.IP "\fB\s-1UTF\-16\s0 \s-1UTF\-16BE\-BOM\s0\fR" 4
.IX Item "UTF-16 UTF-16BE-BOM"
\&\s-1BOM\s0 $BM-$j$G(B Big Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16B, \-W16B\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-16BE\s0\fR" 4
.IX Item "UTF-16BE"
\&\s-1BOM\s0 $BL5$7$G(B Big Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16B0. \-W16B\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-16LE\-BOM\s0\fR" 4
.IX Item "UTF-16LE-BOM"
\&\s-1BOM\s0 $BM-$j$G(B Little Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16L, \-W16L\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-16LE\s0\fR" 4
.IX Item "UTF-16LE"
\&\s-1BOM\s0 $BL5$7$G(B Little Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16L0, \-W16L\fR $B$HF1$8!#(B
.RE
.RS 4
.RE
.IP "\fB\-\-fj \-\-unix \-\-mac \-\-msdos \-\-windows\fR" 4
.IX Item "--fj --unix --mac --msdos --windows"
$B$3$l$i$N%7%9%F%`$KE,$7$?JQ49$r$7$^$9!#(B
.IP "\fB\-\-jis \-\-euc \-\-sjis \-\-mime \-\-base64\fR" 4
.IX Item "--jis --euc --sjis --mime --base64"
$BBP1~$9$kJQ49$r$7$^$9!#(B
.IP "\fB\-\-hiragana \-\-katakana\fR" 4
.IX Item "--hiragana --katakana"
$BJ?2>L>!"JR2>L>JQ49(B
.IP "\fB\-\-fb\-{skip, html, xml, perl, java, subchar}\fR" 4
.IX Item "--fb-{skip, html, xml, perl, java, subchar}"
Unicode $B$+$i(B Shift_JIS, EUC-JP, \s-1ISO\-2022\-JP\s0 $B$KJQ49$9$k:]$K!"JQ49$G$-$J$+$C$?J8;z$r$I$&07$&$+$r;XDj$G$-$^$9!#(B
.IP "\fB\-\-prefix=\f(BIescape character\fB\f(BItarget character\fB..\fR" 4
.IX Item "--prefix=escape charactertarget character.."
EUC-JP $B$+$i(B Shift_JIS $B$X$NJQ49$N:]!"(B2 $B%P%$%HL\(B
$B$K8=$l$?J8;z$NA0$K%(%9%1!<%WJ8;z$r$D$1$k$3$H$,$G$-$^$9!#(B
$B0z?t$N(B 1 $BJ8;zL\$,%(%9%1!<%WJ8;z!"(B2 $BJ8;zL\0J9_$K%(%9%1!<%W$5$l$k$Y$-J8;z$r;XDj$7$^$9!#(B
.Sp
$BNc$($P!"(B
.Sp
\&\-\-prefix=\e$@ $B$H$9$k$H!"(BShift_JIS $B$N(B 2 $BJ8;zL\$K(B $ $B$+(B @ $B$,Mh$?$i!"$=$NA0$K(B \e $B$,A^F~$5$l$^$9(B
\&\-\-prefix=@@ $B$H$9$k$H!"(BShift_JIS $B$N(B 2 $BJ8;zL\$K(B @ $B$,Mh$?$i!"$=$NA0$K(B @ $B$,A^F~$5$l$^$9(B
.IP "\fB\-\-no\-cp932ext\fR" 4
.IX Item "--no-cp932ext"
\&\s-1CP932\s0 $B$K$*$$$F3HD%$5$l$?!"(BNEC $BFC<lJ8;z!"(BNEC $BA*Dj(B \s-1IBM\s0 $B3HD%J8;z(B (89\-92 $B6h(B)$B!"(BIBM $B3HD%J8;z$rJQ49$7$^$;$s!#(B
.IP "\fB\-\-no\-best\-fit\-chars\fR" 4
.IX Item "--no-best-fit-chars"
Unicode $B$+$i$NJQ49$N:]$K!"1}I|0BA4@-$,3NJ]$5$l$J$$J8;z$NJQ49$r9T$$$^$;$s!#(B
Unicode $B$+$i(B Unicode $B$NJQ49$N:]$K(B \-x $B$H6&$K;XDj$9$k$H!"(Bnkf $B$r(B \s-1UTF\s0 $B7A<0$NJQ49$KMQ$$$k$3$H$,$G$-$^$9!#(B
($B5U$K8@$($P!"$3$l$r;XDj$7$J$$$H0lIt$NJ8;z$,J]B8$5$l$^$;$s(B)
.Sp
$B%Q%9$K4X$o$kJ8;zNs$rJQ49$9$k:]$K$O!"$3$N%*%W%7%g%s$r;XDj$9$k$3$H$r6/$/?d>)$7$^$9!#(B
.IP "\fB\-\-cap\-input, \-\-url\-input\fR" 4
.IX Item "--cap-input, --url-input"
$B$=$l$>$l(B :$B!"(B% $B$KB3$/(B 16 $B?J?t$rJ8;z$KJQ49$9$k(B
.IP "\fB\-\-numchar\-input\fR" 4
.IX Item "--numchar-input"
&#....; $B$N$h$&$J(B Unicode $BJ8;z;2>H$rJQ49$9$k(B
.IP "\fB\-\-in\-place[=\f(BI\s-1SUFFIX\s0\fB] \-\-overwrite[=\f(BI\s-1SUFFIX\s0\fB]\fR" 4
.IX Item "--in-place[=SUFFIX] --overwrite[=SUFFIX]"
$B85$N%U%!%$%k$rJQ497k2L$GCV$-49$($k!#(B
$BJ#?t$N%U%!%$%k$r=q$-49$($k$3$H$b2DG=!#(B
$B85$N%U%!%$%k$N%?%$%`%9%?%s%W$H%Q!<%_%C%7%g%s$,J];}$5$l$k!#(B
$B8=:_!":n@.F|;~$d(B inode $B$OJQ99$5$l$k$,!">-Mh$K$o$?$C$F$3$N<BAu$N$^$^$G$"$kJ]>Z$OL5$$!#(B
.IP "\fB\-\-guess\fR" 4
.IX Item "--guess"
$B<+F0H=JL$N7k2L$r=PNO$9$k(B
.IP "\fB\-\-help\fR" 4
.IX Item "--help"
$B%3%^%s%I$N4JC1$J@bL@$rI=<($9$k!#(B
.IP "\fB\-V\fR" 4
.IX Item "-V"
nkf $B$N@_Dj$rI=<($9$k!#(B
.IP "\fB\-v\fR \fB\-\-version\fR" 4
.IX Item "-v --version"
nkf $B$N%P!<%8%g%s$rI=<($9$k!#(B
.IP "\fB\-\-\fR" 4
.IX Item "--"
$B$3$l0J9_$N%*%W%7%g%s$rL5;k$9$k(B
.IP "\fB\-\-exec\-in\fR" 4
.IX Item "--exec-in"
nkf [options] \-\-exec\-in cmd args... $B$H$d$k$H!"(Bcmd $B$N=PNO$r(B nkf $B$NF~NO$H$9$k(B
(config.h $B$G(B \s-1EXEC_IO\s0 $B$r(B define $B$7$F%3%s%Q%$%k$7$?;~$N$_M-8z(B)
.IP "\fB\-\-exec\-out\fR" 4
.IX Item "--exec-out"
nkf [options] \-\-exec\-out cmd args... $B$H$d$k$H!"(Bnkf $B$N=PNO$r(B cmd $B$NF~NO$H$9$k(B
(config.h $B$G(B \s-1EXEC_IO\s0 $B$r(B define $B$7$F%3%s%Q%$%k$7$?;~$N$_M-8z(B)
.SH "BUGS"
.IX Header "BUGS"
$B<B$O!"F~NO$N%3!<%I7O$NH=Dj$O!"(BShift_JIS $B$H(B \s-1EUC\s0 $B$H$N<+F0H=Dj$G$"$j!":G=i$KFCDj$G$-$kJ8;z$,Mh$?;~E@$G3NDj$7$F$7$^$&!#(B
$B$=$7$F!"FCDjITG=$N4V$OJ]N1%P%C%U%!$K$?$a$F$*$+$l!"3NDj8e$K=hM}$5$l$k!#(B
$B$3$N$?$a!"(B7 $B%S%C%H(B \s-1JIS\s0 $B$O>o$KG'<1$5$l$k!#(B
Shift_JIS$B!"(BEUC $B:.9g$b$[$H$s$I$N>l9g$OLdBj$,$J$$!#(B
$B$?$@$7!"(BShift_JIS $B$N$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B) $B$H(B \s-1EUC\s0 $B4A;z$,<1JL$G$-$J$$!#(B
$B$7$?$,$C$F!"%G%U%)%k%H$G$O(B Shift_JIS $B$N$$$o$f$kH>3Q%+%J$O$J$$$H2>Dj$7$F$$$k!#(B
($B$D$^$j!"(BShift_JIS $B$+(B \s-1EUC\s0 $B$+LB$C$?;~$O(B \s-1EUC\s0 $B$H$_$J$9(B)
.PP
Unicode $B$NF|K\8l0J30$NItJ,$NJQ49$K$OBP1~$7$F$$$J$$$,!"(B\fB\-\-no\-best\-fit\-chars\fR $B$r;XDj$9$l$P!"(BUTF\-8 $B$H(B \s-1UTF\-16\s0 $B$NAj8_JQ49$r$9$k$3$H$O2DG=$G$"$k!#(B
.SH "ACKNOWLEDGE"
.IX Header "ACKNOWLEDGE"
$B0J2<$N$+$?$,$?!"$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#(B
.SS "nkf 1.4"
.IX Subsection "nkf 1.4"
morb@fujitsu, kiss@ayumi.stars.flab.fujitsu, cen122@flab.fujitsu,
yuki@flab.fujitsu $BB>!"(Bfujitsu & flab.fujitsu $B$N3'$5$s$N6(NO$K46<U!#(B
shinoda@cs.titech, kato@cs.titech, uematsu@cs.titech \s-1TNX\s0
kono@ie.u\-ryukyu.ac.jp
void@merope.pleiades.or.jp (Kusakabe Youichi)
\&\s-1NIDE\s0 Naoyuki <nide@ics.nara\-wu.ac.jp>
ohta@src.ricoh.co.jp (Junn Ohta)
inouet@strl.nhk.or.jp (Tomoyuki Inoue)
kiri@pulser.win.or.jp (Tetsuaki Kiriyama)
Kimihiko Sato <sato@sail.t.u\-tokyo.ac.jp>
a_kuroe@kuroe.aoba.yokohama.jp (Akihiko Kuroe)
kono@ie.u\-ryukyu.ac.jp (Shinji Kono)
GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
.SS "nkf 1.9\-"
.IX Subsection "nkf 1.9-"
.IP "$B2OLn??<#(B" 4
.IX Item "$B2OLn??<#(B"
.PD 0
.IP "Akio Furukawa" 4
.IX Item "Akio Furukawa"
.IP "Andy Taki" 4
.IX Item "Andy Taki"
.IP "From: \s-1OHARA\s0 Shigeki" 4
.IX Item "From: OHARA Shigeki"
.IP "Fumitaka Kitagawa" 4
.IX Item "Fumitaka Kitagawa"
.IP "Hiroaki Sengoku" 4
.IX Item "Hiroaki Sengoku"
.IP "Ikuhiro \s-1MORITA\s0 ($B?9ED(B $B0i9((B)" 4
.IX Item "Ikuhiro MORITA ($B?9ED(B $B0i9((B)"
.IP "Yoshiharu \s-1ITO\s0" 4
.IX Item "Yoshiharu ITO"
.IP "Junn Ohta" 4
.IX Item "Junn Ohta"
.IP "\s-1KAWAMURA\s0 Masao" 4
.IX Item "KAWAMURA Masao"
.IP "Kazuhiko Mori" 4
.IX Item "Kazuhiko Mori"
.IP "Keitaro Isokawa" 4
.IX Item "Keitaro Isokawa"
.IP "Ken-ichi Hirose" 4
.IX Item "Ken-ichi Hirose"
.IP "Ki-ichiro \s-1SATO\s0" 4
.IX Item "Ki-ichiro SATO"
.IP "Kiwamu Aoyama" 4
.IX Item "Kiwamu Aoyama"
.IP "Koichi Hirayama" 4
.IX Item "Koichi Hirayama"
.IP "Mitsuru Hase ($BD9C+!!K~(B)" 4
.IX Item "Mitsuru Hase ($BD9C+!!K~(B)"
.IP "\s-1OHARA\s0 Shigeki ($BBg86(B $B=E<y(B)" 4
.IX Item "OHARA Shigeki ($BBg86(B $B=E<y(B)"
.IP "Rei \s-1FURUKAWA\s0" 4
.IX Item "Rei FURUKAWA"
.IP "Satoru Takabayashi" 4
.IX Item "Satoru Takabayashi"
.IP "Shigeyuki Takagi" 4
.IX Item "Shigeyuki Takagi"
.IP "Shin \s-1MICHIMUKO\s0" 4
.IX Item "Shin MICHIMUKO"
.IP "Tadamasa Teranishi" 4
.IX Item "Tadamasa Teranishi"
.IP "\s-1TOYODA\s0 Jiro" 4
.IX Item "TOYODA Jiro"
.IP "\s-1TSUCHIYA\s0 Masatoshi" 4
.IX Item "TSUCHIYA Masatoshi"
.IP "Tsutomu Sakai" 4
.IX Item "Tsutomu Sakai"
.IP "\s-1YAMASHITA\s0 Junji ($B;32<(B $B=c;J(B)" 4
.IX Item "YAMASHITA Junji ($B;32<(B $B=c;J(B)"
.IP "Yasuyuki Sato" 4
.IX Item "Yasuyuki Sato"
.IP "Yoshiaki Yanagihara" 4
.IX Item "Yoshiaki Yanagihara"
.IP "hat@so\-net" 4
.IX Item "hat@so-net"
.IP "$B#D#C#C5;=QItEOJU(B" 4
.IX Item "$B#D#C#C5;=QItEOJU(B"
.IP "$B$+$H$Z(B / $B2CF#(B $B5.;J(B" 4
.IX Item "$B$+$H$Z(B / $B2CF#(B $B5.;J(B"
.IP "$B$+$Y(Bdais" 4
.IX Item "$B$+$Y(Bdais"
.IP "$B$R$m$;(B $B$^$5$"$-(B" 4
.IX Item "$B$R$m$;(B $B$^$5$"$-(B"
.IP "$B%$%s%H%i%M%C%H%7%9%F%`(B($B3t(B)$B>>Hx(B" 4
.IX Item "$B%$%s%H%i%M%C%H%7%9%F%`(B($B3t(B)$B>>Hx(B"
.IP "$B1-;tJ8IR(B" 4
.IX Item "$B1-;tJ8IR(B"
.IP "$B1v:j(B $B5#I'(B(\s-1SHIOZAKI\s0 Takehiko)" 4
.IX Item "$B1v:j(B $B5#I'(B(SHIOZAKI Takehiko)"
.IP "$B2OB<2mIW(B (Media Lab.)" 4
.IX Item "$B2OB<2mIW(B (Media Lab.)"
.IP "$B2OLn(B $B9/;J(B" 4
.IX Item "$B2OLn(B $B9/;J(B"
.IP "$B4n@%!HE_G-!I9@!wFn9q2-Fl(B" 4
.IX Item "$B4n@%!HE_G-!I9@!wFn9q2-Fl(B"
.IP "$B6b0f(B $BCRI'(B" 4
.IX Item "$B6b0f(B $BCRI'(B"
.IP "$B7KED(B $BM4;K(B ($B$+$D$i$@(B $B$^$5$7(B)" 4
.IX Item "$B7KED(B $BM4;K(B ($B$+$D$i$@(B $B$^$5$7(B)"
.IP "$B9b6659LA(B" 4
.IX Item "$B9b6659LA(B"
.IP "$B9q5H(B" 4
.IX Item "$B9q5H(B"
.IP "$B9u9>L@I'(B" 4
.IX Item "$B9u9>L@I'(B"
.IP "$B;0Bp@5BY(B" 4
.IX Item "$B;0Bp@5BY(B"
.IP "$B;3AR(B $B??(B" 4
.IX Item "$B;3AR(B $B??(B"
.IP "$B;3K\(B $BK'?M(B" 4
.IX Item "$B;3K\(B $BK'?M(B"
.IP "$B;3LnM5;J(B ($B$d$^$N$f$&$8(B)" 4
.IX Item "$B;3LnM5;J(B ($B$d$^$N$f$&$8(B)"
.IP "$B=EB<K!9n(B" 4
.IX Item "$B=EB<K!9n(B"
.IP "$B>.Eg4pLw(B" 4
.IX Item "$B>.Eg4pLw(B"
.IP "$B>eED!!7r(B" 4
.IX Item "$B>eED!!7r(B"
.IP "$B?70f(B $B9/;J(B (Koji Arai)" 4
.IX Item "$B?70f(B $B9/;J(B (Koji Arai)"
.IP "$B?9!!@i3(;R(B" 4
.IX Item "$B?9!!@i3(;R(B"
.IP "$B?9!!OBI'(B" 4
.IX Item "$B?9!!OBI'(B"
.IP "$B?eLn(B $B5.J8(B" 4
.IX Item "$B?eLn(B $B5.J8(B"
.IP "$BA0COOB=S(B" 4
.IX Item "$BA0COOB=S(B"
.IP "$BCg=!:,!wJBNs?.Mj8&(B" 4
.IX Item "$BCg=!:,!wJBNs?.Mj8&(B"
.IP "$BCvC+(B $B1Q0lO:(B == Eiichiro Itani" 4
.IX Item "$BCvC+(B $B1Q0lO:(B == Eiichiro Itani"
.IP "$BF#86!!=(9T(B" 4
.IX Item "$BF#86!!=(9T(B"
.IP "$BH,ED(B $B??9T(B (Masayuki Hatta)" 4
.IX Item "$BH,ED(B $B??9T(B (Masayuki Hatta)"
.IP "$BHx@nIRLi(B" 4
.IX Item "$BHx@nIRLi(B"
.IP "$BK>7n(B $B9';V(B" 4
.IX Item "$BK>7n(B $B9';V(B"
.IP "$BLZB<(B ($B!wC^GHBg3X?t3X8&5f2J(B)" 4
.IX Item "$BLZB<(B ($B!wC^GHBg3X?t3X8&5f2J(B)"
.IP "$BLnB<=S>4(B" 4
.IX Item "$BLnB<=S>4(B"
.IP "$BM-2,!w%_%N%k%?(B" 4
.IX Item "$BM-2,!w%_%N%k%?(B"
.IP "$BM-Bt(B $BL@9((B" 4
.IX Item "$BM-Bt(B $BL@9((B"
.IP "$BMn9g0l4n(B" 4
.IX Item "$BMn9g0l4n(B"
.IP "$BNS(B $BN<(B" 4
.IX Item "$BNS(B $BN<(B"
.IP "$BT"0B(B $B<#(B" 4
.IX Item "$BT"0B(B $B<#(B"
.IP "$BLZ2<(B $BM:2p(B" 4
.IX Item "$BLZ2<(B $BM:2p(B"
.IP "$BEDCfN4M5(B" 4
.IX Item "$BEDCfN4M5(B"
.IP "$BDaC+D><y(B" 4
.IX Item "$BDaC+D><y(B"
.IP "$BCfED?-1Y(B" 4
.IX Item "$BCfED?-1Y(B"
.IP "$B$o$?$J$Y$R$m$U$_(B" 4
.IX Item "$B$o$?$J$Y$R$m$U$_(B"
.IP "MoonWolf" 4
.IX Item "MoonWolf"
.IP "sava" 4
.IX Item "sava"
.PD
.SH "AUTHOR"
.IX Header "AUTHOR"
.IP "$B;T@n(B $B;j(B ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)" 4
.IX Item "$B;T@n(B $B;j(B ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)"
.PD 0
.IP "$B2OLn(B $B??<#(B kono@ie.u\-ryukyu.acjp" 4
.IX Item "$B2OLn(B $B??<#(B kono@ie.u-ryukyu.acjp"
.IP "Rei \s-1FURUKAWA\s0 furukawa@tcp\-ip.or.jp" 4
.IX Item "Rei FURUKAWA furukawa@tcp-ip.or.jp"
.IP "$B@.@%(B" 4
.IX Item "$B@.@%(B"
.IP "mastodon" 4
.IX Item "mastodon"
.PD
.PP
http://sourceforge.jp/projects/nkf/
.PP
Copyright (C) 1987, \s-1FUJITSU\s0 \s-1LTD\s0. (I.Ichikawa).
.PP
Copyright (C) 1996\-2013, The nkf Project.