📄 nkf.1
字号:
.TH NKF 1L 8/NOV/97.SH NAMEnkf \- Network Kanji code conversion Filter v1.7.SH SYNOPSIS.B nkf[.B options] [.B file].SH DESCRIPTION.PP.B Nkfis a yet another kanji code converter among networks, hosts and terminals.It converts input kanji code to designated kanji codesuch as 7-bit JIS, MS-kanji (shifted-JIS) or EUC..PPOne of the most unique facicility of .B nkfis the guess of the input kanji code.It currently recognizes 7-bit JIS, MS-kanji (shifted-JIS) and EUC.So users needn't the input kanji code specification.By default X0201 kana is converted into X0208 kana. ForX0201 kana, SO/SI, SSO andESC-(-I methods are supported. For automatic code detection, nkf assumesno X0201 kana in MS-Kanji. To accept X0201 in MS-Kanji, use \-X, \-x or\-S..PPOptions are bellow:.TP.B \-bbufferd output.This is a default..TP.B \-uunbufferd output..TP.B \-tno operations..TP.B \-joutput 7-bit JIS code.This is a default..TP.B \-soutput MS-kanji (shifted-JIS) code..TP.B \-eoutput EUC (AT&T) code..TP.BI \-i coutput .BI ESC\-$\- cas sequence to designate JIS-kanji(Default is.BR B .).TP.BI \-o coutput .BI ESC\-(\- cas sequence to designate single-byte roman characters(Default is.BR B .).TP.B \-r{de/en}crypt ROT13/47.TP.B \-vdisplay Version.TP.B \-TText mode output (MS-DOS).TP.B \-mMIME ISO-2022-JP/ISO8859-1 decode. (default) To see ISO8859-1 (Latin-1)\-l is necessary. .TP.B \-mBDecode MIME base64 encoded stream. Remove header or other part beforeconversion..TP.B \-mQDecode MIME quoted stream. '_' in quoted is converted to space..TP.B \-m0No MIME decode..TP.B \-lInput and output code is ISO8859-1 (Latin-1) and ISO-2022-JP.\-s, \-e and \-x are not compatible with this option..TP.BI \-f nFolding on .BI n length in a line. Default 60..TP.B \-XAllow X0201 kana in MS-Kanji. X0201 is converted into X0208 by default.This is default in MSDOS..TP.B \-xTry to preseve X0208 kana.Assume X0201 kana in MS-Kanji. Anddo not convert X0201 kana to X0208. In JIS output, ESC-(-I is used. In EUC output, SSO is used..TP.B \-ZConvert X0208 alphabet to ASCII. \-Z1 converts X0208 kankaku to one ASCII space. \-Z2 converts X0208 kankaku to two ASCII spaces..TP.B \-SAssume MS-Kanji and X0201 kana input. It also accpet JIS.AT&T EUC is recognized as X0201 kana. Without \-x flag,X0201 kana is converted into X0208..TP.B \-JAssume JIS input. It also accepts Japanese EUC.This is the default. This flag does not excludde MS-Kanji..TP.B \-EAssume AT&T EUC input. It also accpet JIS.Same as \-J..TP.B \-BAssume broken JIS-Kanji, which lost ESC. Usefull when your site is using old B-News Nihongo patch. \-B1 allows any char after ESC-( orESC-$. \-B2 forces ASCII after NL..TP.B \-OOutput result to file. The first name in arguments becomes output.Please be careful. If there are no file arguments, nkf.out is chosen..TP.B \-cadd CR after NL..TP.B \-ddelete CR after NL..SH "FILES"nkf - binary.SH AUTHORItaru Ichikawa <ichikawa@flab.fujitsu.co.jp>(was ichikawa@fujitsu.JUNET).SH EDITORa_kuroe@hoffman.cc.sophia.ac.jp (Akihiko Kuroe)kono@ie.u-ryukyu.ac.jp (Shinji KONO).SH BUGS.B Nkfcannot handle some input that contains mixed kanji codes.Automatic code detection becomes very weak with \-x, \-X and \-S.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -