NKF Japanese Encoder

From Wikipedia, the free encyclopedia

nkf is a Unix computer program that converts Japanese encoding. It supports JIS, SJIS and EUC.

USAGE:  nkf(nkf32,wnkf,nkf2) -[flags] [in file] .. [out file for -O flag]
Flags:
b,u      Output is buffered (DEFAULT), output is unbuffered
j,s,e    Outout code is JIS 7 bit (DEFAULT), Shift JIS, AT&T JIS (EUC)
J,S,E    Input assumption is JIS 7 bit, Shift JIS, AT&T JIS (EUC)
t        no conversion
i_       Output sequence to designate JIS-kanji (DEFAULT B)
o_       Output sequence to designate ASCII (DEFAULT B)
r        {de/en}crypt ROT13/47
v        Show this usage
m[BQ0]   MIME decode [B:base64,Q:quoted,0:no decode]
l        ISO8859-1 (Latin-1) support
f        Folding: -f60 or -f
Z[0-2]   Convert X0208 alphabet to ASCII  1: Kankaku to space,2: 2 spaces
X,x      Assume X0201 kana in MS-Kanji, -x preserves X0201
B[0-2]   Broken input  0: missing ESC,1: any X on ESC-[($]-X,2: ASCII on NL
T        Text mode output
O        Output to File (DEFAULT 'nkf.out')
d,c      Delete \r in line feed, Add \r in line feed
Network Kanji Filter Version 1.7 (0/9711/Shinji Kono) for Win32
Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa),1998 S. Kono, COW

[edit] See also

[edit] External links