OSDN Git Service

Fix documentation about MS_Kanji. [nkf-forum:50128]
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Sun, 18 Apr 2010 18:00:48 +0000 (03:00 +0900)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Sun, 18 Apr 2010 18:00:48 +0000 (03:00 +0900)
NKF.mod/NKF.pm
man/nkf.1.pm
nkf.1
nkf.c

index 2283341..3ff733a 100644 (file)
@@ -236,10 +236,9 @@ Replacing fullwidth >, <, ", & into '&gt;', '&lt;', '&quot;', '&amp;' as in HTML
 
 =item B<-X -x>
 
-Assume X0201 kana in MS-Kanji.
 With B<-X> or without this option, X0201 is converted into X0208 Kana.
 With B<-x>, try to preserve X0208 kana and do not convert X0201 kana to X0208.
-In JIS output, ESC-(-I is used. In EUC output, SSO is used.
+In JIS output, ESC-(-I is used. In EUC output, SS2 is used.
 
 =item B<-B[0-2]>
 
@@ -371,7 +370,7 @@ Microsoft Version of EUC-JP.
 
 =item Shift_JIS
 
-a.k.a. SJIS, MS-Kanji
+a.k.a. SJIS
 
 =item Windows-31J
 
index 625bb16..f9f7c3f 100644 (file)
@@ -214,10 +214,9 @@ Replacing fullwidth >, <, ", & into '&gt;', '&lt;', '&quot;', '&amp;' as in HTML
 
 =item B<-X -x>
 
-Assume X0201 kana in MS-Kanji.
 With B<-X> or without this option, X0201 is converted into X0208 Kana.
 With B<-x>, try to preserve X0208 kana and do not convert X0201 kana to X0208.
-In JIS output, ESC-(-I is used. In EUC output, SSO is used.
+In JIS output, ESC-(-I is used. In EUC output, SS2 is used.
 
 =item B<-B[0-2]>
 
@@ -349,7 +348,7 @@ Microsoft Version of EUC-JP.
 
 =item Shift_JIS
 
-a.k.a. SJIS, MS-Kanji
+a.k.a. SJIS
 
 =item Windows-31J
 
diff --git a/nkf.1 b/nkf.1
index 3201e08..9b4508e 100644 (file)
--- a/nkf.1
+++ b/nkf.1
 .\" ========================================================================
 .\"
 .IX Title "nkf 1"
-.TH nkf 1 "2009-11-17" "nkf 2.1.0" " "
+.TH nkf 1 "2010-04-19" "nkf 2.1.0" " "
 .SH "NAME"
 nkf \- Network Kanji Filter
 .SH "SYNOPSIS"
@@ -260,10 +260,9 @@ Replacing fullwidth >, <, ", & into '&gt;', '&lt;', '&quot;', '&amp;' as in \s-1
 .RE
 .IP "\fB\-X \-x\fR" 4
 .IX Item "-X -x"
-Assume X0201 kana in MS\-Kanji.
 With \fB\-X\fR or without this option, X0201 is converted into X0208 Kana.
 With \fB\-x\fR, try to preserve X0208 kana and do not convert X0201 kana to X0208.
-In \s-1JIS\s0 output, \s-1ESC\-\s0(\-I is used. In \s-1EUC\s0 output, \s-1SSO\s0 is used.
+In \s-1JIS\s0 output, \s-1ESC\-\s0(\-I is used. In \s-1EUC\s0 output, \s-1SS2\s0 is used.
 .IP "\fB\-B[0\-2]\fR" 4
 .IX Item "-B[0-2]"
 Assume broken JIS-Kanji input, which lost \s-1ESC\s0.
@@ -371,7 +370,7 @@ a.k.a. \s-1AT&T\s0 \s-1JIS\s0, Japanese \s-1EUC\s0, \s-1UJIS\s0
 Microsoft Version of \s-1EUC\-JP\s0.
 .IP "Shift_JIS" 4
 .IX Item "Shift_JIS"
-a.k.a. \s-1SJIS\s0, MS-Kanji
+a.k.a. \s-1SJIS\s0
 .IP "Windows\-31J" 4
 .IX Item "Windows-31J"
 a.k.a. \s-1CP932\s0
diff --git a/nkf.c b/nkf.c
index a8bfc9a..0ecd248 100644 (file)
--- a/nkf.c
+++ b/nkf.c
@@ -901,7 +901,7 @@ usage(void)
            " Z[0-4]   Default/0: Convert JISX0208 Alphabet to ASCII\n"
            "          1: Kankaku to one space  2: to two spaces  3: HTML Entity\n"
            "          4: JISX0208 Katakana to JISX0201 Katakana\n"
-           " X,x      Assume X0201 kana in MS-Kanji, -x preserves X0201\n"
+           " X,x      Convert Halfwidth Katakana to Fullwidth or preserve it\n"
            );
     fprintf(HELP_OUTPUT,
            " O        Output to File (DEFAULT 'nkf.out')\n"