OSDN Git Service

Update document.
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Mon, 19 Jan 2009 12:42:01 +0000 (21:42 +0900)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Mon, 19 Jan 2009 12:42:01 +0000 (21:42 +0900)
NKF.mod/NKF.pm
man/nkf.1j.pm

index 614a8b4..e37cc2c 100644 (file)
@@ -103,40 +103,50 @@ To accept X0201 in Shift_JIS, use B<-X>, B<-x> or B<-S>.
 
 =over
 
-=item B<-b -u>
-
-Output is buffered (DEFAULT), Output is unbuffered.
-
-=item B<-j -s -e -w -w16>
+=item B<-J -S -E -W -W16 -W32 -j -s -e -w -w16 -w32>
 
-Output code is ISO-2022-JP (7bit JIS), Shift_JIS, EUC-JP,
-UTF-8N, UTF-16BE.
-Without this option and compile option, ISO-2022-JP is assumed.
-
-=item B<-J -S -E -W -W16>
-
-Input assumption is JIS 7 bit, Shift_JIS, EUC-JP,
-UTF-8, UTF-16LE.
+Specify input and output encodings. Upper case is input.
+cf. --ic and --oc.
 
 =over
 
 =item B<-J>
 
-Assume  JIS input.
-This is the default.
+ISO-2022-JP (JIS code).
 
 =item B<-S>
 
-Assume Shift_JIS and JIS X 0201 kana input.
+Shift_JIS and JIS X 0201 kana.
 EUC-JP is recognized as X0201 kana. Without B<-x> flag,
 JIS X 0201 Katakana (a.k.a.halfwidth kana) is converted into JIS X 0208.
+If you use Windows, see Windows-31J (CP932).
 
 =item B<-E>
 
-Assume EUC-JP input.
+EUC-JP.
+
+=item B<-W>
+
+UTF-8N.
+
+=item B<-W16[BL][0]>
+
+UTF-16.
+B or L gives whether Big Endian or Little Endian.
+0 gives whther put BOM or not.
+
+=item B<-W32[BL][0]>
+
+UTF-32.
+B or L gives whether Big Endian or Little Endian.
+0 gives whther put BOM or not.
 
 =back
 
+=item B<-b -u>
+
+Output is buffered (DEFAULT), Output is unbuffered.
+
 =item B<-t>
 
 No conversion.
@@ -155,6 +165,8 @@ Use ESC ( @. (JIS X 0208-1978)
 
 Use ESC ( B. (JIS X 0208-1983/1990 DEFAULT)
 
+=back
+
 =item B<-o[BJ]>
 
 Specify the escape sequence for US-ASCII/JIS X 0201 Roman. (DEFAULT B)
@@ -401,6 +413,26 @@ UTF-16 Little Endian without BOM
 
 UTF-16 Little Endian with BOM
 
+=item UTF-32
+
+same as UTF-32BE
+
+=item UTF-32BE
+
+UTF-32 Big Endian without BOM
+
+=item UTF-32BE-BOM
+
+UTF-32 Big Endian with BOM
+
+=item UTF-32LE
+
+UTF-32 Little Endian without BOM
+
+=item UTF-32LE-BOM
+
+UTF-32 Little Endian with BOM
+
 =back
 
 =item B<--fb-{skip, html, xml, perl, java, subchar}>
index ce452d9..e34b211 100755 (executable)
@@ -32,7 +32,7 @@ B<-mu> 
 
 =item B<-j>
 
-JIS ¥³¡¼¥É¤ò½ÐÎϤ¹¤ë¡£(¥Ç¥Õ¥©¥ë¥È)
+JIS ¥³¡¼¥É¤ò½ÐÎϤ¹¤ë¡£
 
 =item B<-e>
 
@@ -249,12 +249,38 @@ ISO-2022-JP 
 =item B<-i[@B]>
 
 JIS ´Á»ú¤ò»Ø¼¨¤¹¤ë¥·¡¼¥±¥ó¥¹¤ò»ØÄꤹ¤ë¡£
-(¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ESC-$-B)
+
+=over
+
+=item B<-i@>
+
+JIS X 0208-1978 ¤òÍѤ¤¤ë¡£
+
+=item B<-iB>
+
+JIS X 0208-1983/1990 ¤òÍѤ¤¤ë¡£
+
+=back
 
 =item B<-o[BJH]>
 
 1 ¥Ð¥¤¥È±Ñ¿ôʸ»ú¥»¥Ã¥È¤ò»Ø¼¨¤¹¤ë¥·¡¼¥±¥ó¥¹¤ò»ØÄꤹ¤ë¡£
-(¥Ç¥Õ¥©¥ë¥È¤Ï¡¢ESC-(-B)
+
+=over
+
+=item B<-oB>
+
+1 ¥Ð¥¤¥È±Ñ¿ôʸ»ú¥»¥Ã¥È¤È¤·¤Æ US-ASCII ¤òÍѤ¤¤ë¡£
+
+=item B<-oJ>
+
+1 ¥Ð¥¤¥È±Ñ¿ôʸ»ú¥»¥Ã¥È¤È¤·¤Æ JIS X 0201 Roman ¤òÍѤ¤¤ë¡£
+
+=item B<-oH>
+
+ESC ( H ¤Ï½é´ü¤Î JUNET ¥³¡¼¥É¤Ç¤Î¤ßÍѤ¤¤é¤ì¤¿¤â¤Î¤Ç¡¢¸½ºß¤Ï»È¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
+
+=back
 
 =item B<-r>
 
@@ -264,10 +290,6 @@ ROT13/47 
 
 ¼«Æ°È½Ê̤ηë²Ì¤ò½ÐÎϤ·¤Þ¤¹¡£
 
-=item B<-v>
-
-¥Ð¡¼¥¸¥ç¥ó¤òɽ¼¨¤¹¤ë¡£
-
 =item B<-T>
 
 ¥Æ¥­¥¹¥È¥â¡¼¥É¤Ç½ÐÎϤ¹¤ë¡£(MS-DOS ¾å¤Ç¤Î¤ß¸úÎϤò»ý¤Ä)
@@ -469,7 +491,11 @@ Unicode 
 
 ¥³¥Þ¥ó¥É¤Î´Êñ¤ÊÀâÌÀ¤òɽ¼¨¤¹¤ë¡£
 
-=item B<--version>
+=item B<-V>
+
+nkf ¤ÎÀßÄê¤òɽ¼¨¤¹¤ë¡£
+
+=item B<-v> B<--version>
 
 nkf ¤Î¥Ð¡¼¥¸¥ç¥ó¤òɽ¼¨¤¹¤ë¡£
 
@@ -699,7 +725,8 @@ GHG00637@nifty-serve.or.jp (COW)
 
 http://sourceforge.jp/projects/nkf/
 
-Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa),2000 S. Kono, COW
-Copyright (C) 2002-2007 Kono, Furukawa, Naruse, mastodon
+Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).
+
+Copyright (C) 1996-2009, The nkf Project.
 
 =cut