• R/O
  • HTTP
  • SSH
  • HTTPS

nkf: Commit

nkfのGitリポジトリです。


Commit MetaInfo

Revisión50470507730eac4319dccc907f46f36fb168edea (tree)
Tiempo2015-12-12 22:31:34
AutorNARUSE, Yui <naruse@user...>
CommiterNARUSE, Yui

Log Message

bump version

Cambiar Resumen

Diferencia incremental

--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ SHAR = shar
55 # SHAR = shar -T
66 PERL = perl
77 RM = rm -rf
8-VERSION = 2.1.3
8+VERSION = 2.1.4
99 MKDIR = mkdir
1010 prefix = /usr/local
1111 PYTHON2 = python
--- a/NKF.mod/NKF.pm
+++ b/NKF.mod/NKF.pm
@@ -1,5 +1,5 @@
11 # Copyright (c) 1987, Fujitsu LTD. (Itaru ICHIKAWA).
2-# Copyright (c) 1996-2014, The nkf Project.
2+# Copyright (c) 1996-2015, The nkf Project.
33 # All rights reserved.
44 #
55 # This software is provided 'as-is', without any express or implied
@@ -35,7 +35,7 @@ require DynaLoader;
3535 @EXPORT = qw(
3636 nkf nkf_continue inputcode
3737 );
38-$VERSION = '2.13';
38+$VERSION = '2.14';
3939
4040 bootstrap NKF $VERSION;
4141
@@ -505,7 +505,7 @@ Ignore rest of -option.
505505
506506 Copyright (c) 1987, Fujitsu LTD. (Itaru ICHIKAWA).
507507
508-Copyright (c) 1996-2014, The nkf Project.
508+Copyright (c) 1996-2015, The nkf Project.
509509
510510 =begin
511511
--- a/dll.rc
+++ b/dll.rc
@@ -1,8 +1,8 @@
11 #include <windows.h>
22
33 1 VERSIONINFO
4-FILEVERSION 2,1,3,0
5-PRODUCTVERSION 2,1,3,0
4+FILEVERSION 2,1,4,0
5+PRODUCTVERSION 2,1,4,0
66 FILEFLAGSMASK 0x3fL
77 #ifdef _DEBUG
88 FILEFLAGS 0x1L
@@ -19,12 +19,12 @@ FILESUBTYPE 0x0L
1919 {
2020 VALUE "CompanyName", "project nkf\0"
2121 VALUE "FileDescription", "Network Kanji Filter\0"
22- VALUE "FileVersion", "2.1.3.0 1\0"
22+ VALUE "FileVersion", "2.1.4.0 1\0"
2323 VALUE "InternalName", "nkf32\0"
2424 VALUE "LegalCopyright", "Copyright (C) 1987, Fujitsu LTD. (Itaru ICHIKAWA); Copyright (C) 2003-2004 T.kaneto\0"
2525 VALUE "OriginalFilename", "nkf32.c\0"
2626 VALUE "ProductName", "nkf32.dll\0"
27- VALUE "ProductVersion", "2.1.3.0 1\0"
27+ VALUE "ProductVersion", "2.1.4.0 1\0"
2828 }
2929 }
3030 BLOCK "VarFileInfo"
--- a/man/nkf.1.pm
+++ b/man/nkf.1.pm
@@ -1,5 +1,5 @@
11 # Copyright (c) 1987, Fujitsu LTD. (Itaru ICHIKAWA).
2-# Copyright (c) 1996-2010, The nkf Project.
2+# Copyright (c) 1996-2015, The nkf Project.
33 # All rights reserved.
44 #
55 # This software is provided 'as-is', without any express or implied
@@ -35,7 +35,7 @@ require DynaLoader;
3535 @EXPORT = qw(
3636 nkf nkf_continue inputcode
3737 );
38-$VERSION = '2.13';
38+$VERSION = '2.14';
3939
4040 bootstrap NKF $VERSION;
4141
@@ -77,6 +77,12 @@ For X0201 kana, SO/SI, SSO and ESC-(-I methods are supported.
7777 For automatic code detection, nkf assumes no X0201 kana in Shift_JIS.
7878 To accept X0201 in Shift_JIS, use B<-X>, B<-x> or B<-S>.
7979
80+multiple options are specifed as seprate strings, such as
81+
82+ print nkf('--ic=UTF8-MAC', '-w', $string), "\n";
83+
84+except the last arguments.
85+
8086 =head1 OPTIONS
8187
8288 =over
@@ -475,7 +481,7 @@ Ignore rest of -option.
475481
476482 Copyright (c) 1987, Fujitsu LTD. (Itaru ICHIKAWA).
477483
478-Copyright (c) 1996-2013, The nkf Project.
484+Copyright (c) 1996-2015, The nkf Project.
479485
480486
481487 =cut
--- a/nkf.1
+++ b/nkf.1
@@ -1,4 +1,4 @@
1-.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
1+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
22 .\"
33 .\" Standard preamble:
44 .\" ========================================================================
@@ -38,6 +38,8 @@
3838 . ds PI \(*p
3939 . ds L" ``
4040 . ds R" ''
41+. ds C`
42+. ds C'
4143 'br\}
4244 .\"
4345 .\" Escape single quotes in literal strings from groff's Unicode transform.
@@ -48,17 +50,24 @@
4850 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
4951 .\" entries marked with X<> in POD. Of course, you'll have to process the
5052 .\" output yourself in some meaningful fashion.
51-.ie \nF \{\
52-. de IX
53-. tm Index:\\$1\t\\n%\t"\\$2"
53+.\"
54+.\" Avoid warning from groff about undefined register 'F'.
55+.de IX
5456 ..
55-. nr % 0
56-. rr F
57-.\}
58-.el \{\
59-. de IX
57+.nr rF 0
58+.if \n(.g .if rF .nr rF 1
59+.if (\n(rF:(\n(.g==0)) \{
60+. if \nF \{
61+. de IX
62+. tm Index:\\$1\t\\n%\t"\\$2"
6063 ..
64+. if !\nF==2 \{
65+. nr % 0
66+. nr F 2
67+. \}
68+. \}
6169 .\}
70+.rr rF
6271 .\"
6372 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
6473 .\" Fear. Run. Save yourself. No user-serviceable parts.
@@ -124,7 +133,7 @@
124133 .\" ========================================================================
125134 .\"
126135 .IX Title "nkf 1"
127-.TH nkf 1 "2013-11-22" "nkf 2.1.3" " "
136+.TH nkf 1 "2015-12-12" "nkf 2.1.4" " "
128137 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
129138 .\" way too many mistakes in technical documents.
130139 .if n .ad l
@@ -138,16 +147,24 @@ nkf \fB[\-butjnesliohrTVvwWJESZxXFfmMBOcdILg]\fR \fB[\fR\fIfile ...\fR\fB]\fR
138147 .IX Header "DESCRIPTION"
139148 \&\fBNkf\fR is a yet another kanji code converter among networks, hosts and terminals.
140149 It converts input kanji code to designated kanji code
141-such as \s-1ISO\-2022\-JP\s0, Shift_JIS, EUC-JP, \s-1UTF\-8\s0, \s-1UTF\-16\s0 or \s-1UTF\-32\s0.
150+such as \s-1ISO\-2022\-JP,\s0 Shift_JIS, EUC-JP, \s-1UTF\-8, UTF\-16\s0 or \s-1UTF\-32.\s0
142151 .PP
143152 One of the most unique faculty of \fBnkf\fR is the guess of the input kanji encodings.
144-It currently recognizes \s-1ISO\-2022\-JP\s0, Shift_JIS, EUC-JP, \s-1UTF\-8\s0, \s-1UTF\-16\s0 and \s-1UTF\-32\s0.
153+It currently recognizes \s-1ISO\-2022\-JP,\s0 Shift_JIS, EUC-JP, \s-1UTF\-8, UTF\-16\s0 and \s-1UTF\-32.\s0
145154 So users needn't set the input kanji code explicitly.
146155 .PP
147156 By default, X0201 kana is converted into X0208 kana.
148-For X0201 kana, \s-1SO/SI\s0, \s-1SSO\s0 and \s-1ESC\-\s0(\-I methods are supported.
157+For X0201 kana, \s-1SO/SI, SSO\s0 and \s-1ESC\-\s0(\-I methods are supported.
149158 For automatic code detection, nkf assumes no X0201 kana in Shift_JIS.
150159 To accept X0201 in Shift_JIS, use \fB\-X\fR, \fB\-x\fR or \fB\-S\fR.
160+.PP
161+multiple options are specifed as seprate strings, such as
162+.PP
163+.Vb 1
164+\& print nkf(\*(Aq\-\-ic=UTF8\-MAC\*(Aq, \*(Aq\-w\*(Aq, $string), "\en";
165+.Ve
166+.PP
167+except the last arguments.
151168 .SH "OPTIONS"
152169 .IX Header "OPTIONS"
153170 .IP "\fB\-J \-S \-E \-W \-W16 \-W32 \-j \-s \-e \-w \-w16 \-w32\fR" 4
@@ -157,28 +174,28 @@ cf. \-\-ic and \-\-oc.
157174 .RS 4
158175 .IP "\fB\-J\fR" 4
159176 .IX Item "-J"
160-\&\s-1ISO\-2022\-JP\s0 (\s-1JIS\s0 code).
177+\&\s-1ISO\-2022\-JP \s0(\s-1JIS\s0 code).
161178 .IP "\fB\-S\fR" 4
162179 .IX Item "-S"
163-Shift_JIS and \s-1JIS\s0 X 0201 kana.
180+Shift_JIS and \s-1JIS X 0201\s0 kana.
164181 EUC-JP is recognized as X0201 kana. Without \fB\-x\fR flag,
165-\&\s-1JIS\s0 X 0201 Katakana (a.k.a.halfwidth kana) is converted into \s-1JIS\s0 X 0208.
182+\&\s-1JIS X 0201\s0 Katakana (a.k.a.halfwidth kana) is converted into \s-1JIS X 0208.\s0
166183 If you use Windows, see Windows\-31J (\s-1CP932\s0).
167184 .IP "\fB\-E\fR" 4
168185 .IX Item "-E"
169186 EUC-JP.
170187 .IP "\fB\-W\fR" 4
171188 .IX Item "-W"
172-\&\s-1UTF\-8N\s0.
189+\&\s-1UTF\-8N.\s0
173190 .IP "\fB\-W16[\s-1BL\s0][0]\fR" 4
174191 .IX Item "-W16[BL][0]"
175-\&\s-1UTF\-16\s0.
176-B or L gives whether Big Endian or Little Endian.
192+\&\s-1UTF\-16.
193+B\s0 or L gives whether Big Endian or Little Endian.
177194 0 gives whther put \s-1BOM\s0 or not.
178195 .IP "\fB\-W32[\s-1BL\s0][0]\fR" 4
179196 .IX Item "-W32[BL][0]"
180-\&\s-1UTF\-32\s0.
181-B or L gives whether Big Endian or Little Endian.
197+\&\s-1UTF\-32.
198+B\s0 or L gives whether Big Endian or Little Endian.
182199 0 gives whther put \s-1BOM\s0 or not.
183200 .RE
184201 .RS 4
@@ -191,20 +208,20 @@ Output is buffered (\s-1DEFAULT\s0), Output is unbuffered.
191208 No conversion.
192209 .IP "\fB\-i[@B]\fR" 4
193210 .IX Item "-i[@B]"
194-Specify the escape sequence for \s-1JIS\s0 X 0208.
211+Specify the escape sequence for \s-1JIS X 0208.\s0
195212 .RS 4
196213 .IP "\fB\-i@\fR" 4
197214 .IX Item "-i@"
198-Use \s-1ESC\s0 ( @. (\s-1JIS\s0 X 0208\-1978)
215+Use \s-1ESC \s0( @. (\s-1JIS X 0208\-1978\s0)
199216 .IP "\fB\-iB\fR" 4
200217 .IX Item "-iB"
201-Use \s-1ESC\s0 ( B. (\s-1JIS\s0 X 0208\-1983/1990 \s-1DEFAULT\s0)
218+Use \s-1ESC \s0( B. (\s-1JIS X 0208\-1983/1990 DEFAULT\s0)
202219 .RE
203220 .RS 4
204221 .RE
205222 .IP "\fB\-o[\s-1BJ\s0]\fR" 4
206223 .IX Item "-o[BJ]"
207-Specify the escape sequence for \s-1US\-ASCII/JIS\s0 X 0201 Roman. (\s-1DEFAULT\s0 B)
224+Specify the escape sequence for \s-1US\-ASCII/JIS X 0201\s0 Roman. (\s-1DEFAULT B\s0)
208225 .IP "\fB\-r\fR" 4
209226 .IX Item "-r"
210227 {de/en}crypt \s-1ROT13/47\s0
@@ -237,11 +254,11 @@ Without this option, fold length is 60 and fold margin is 10.
237254 New line preserving line folding.
238255 .IP "\fB\-Z[0\-3]\fR" 4
239256 .IX Item "-Z[0-3]"
240-Convert X0208 alphabet (Fullwidth Alphabets) to \s-1ASCII\s0.
257+Convert X0208 alphabet (Fullwidth Alphabets) to \s-1ASCII.\s0
241258 .RS 4
242259 .IP "\fB\-Z \-Z0\fR" 4
243260 .IX Item "-Z -Z0"
244-Convert X0208 alphabet to \s-1ASCII\s0.
261+Convert X0208 alphabet to \s-1ASCII.\s0
245262 .IP "\fB\-Z1\fR" 4
246263 .IX Item "-Z1"
247264 Convert X0208 kankaku to single \s-1ASCII\s0 space.
@@ -250,7 +267,7 @@ Convert X0208 kankaku to single \s-1ASCII\s0 space.
250267 Convert X0208 kankaku to double \s-1ASCII\s0 spaces.
251268 .IP "\fB\-Z3\fR" 4
252269 .IX Item "-Z3"
253-Replacing fullwidth >, <, ", & into '&gt;', '&lt;', '&quot;', '&amp;' as in \s-1HTML\s0.
270+Replacing fullwidth >, <, ", & into '&gt;', '&lt;', '&quot;', '&amp;' as in \s-1HTML.\s0
254271 .RE
255272 .RS 4
256273 .RE
@@ -261,15 +278,15 @@ With \fB\-x\fR, try to preserve X0208 kana and do not convert X0201 kana to X020
261278 In \s-1JIS\s0 output, \s-1ESC\-\s0(\-I is used. In \s-1EUC\s0 output, \s-1SS2\s0 is used.
262279 .IP "\fB\-B[0\-2]\fR" 4
263280 .IX Item "-B[0-2]"
264-Assume broken JIS-Kanji input, which lost \s-1ESC\s0.
281+Assume broken JIS-Kanji input, which lost \s-1ESC.\s0
265282 Useful when your site is using old B\-News Nihongo patch.
266283 .RS 4
267284 .IP "\fB\-B1\fR" 4
268285 .IX Item "-B1"
269-allows any chars after \s-1ESC\-\s0( or \s-1ESC\-$\s0.
286+allows any chars after \s-1ESC\-\s0( or \s-1ESC\-$.\s0
270287 .IP "\fB\-B2\fR" 4
271288 .IX Item "-B2"
272-force \s-1ASCII\s0 after \s-1NL\s0.
289+force \s-1ASCII\s0 after \s-1NL.\s0
273290 .RE
274291 .RS 4
275292 .RE
@@ -279,8 +296,8 @@ Replacing non iso\-2022\-jp char into a geta character
279296 (substitute character in Japanese).
280297 .IP "\fB\-m[\s-1BQN0\s0]\fR" 4
281298 .IX Item "-m[BQN0]"
282-\&\s-1MIME\s0 \s-1ISO\-2022\-JP/ISO8859\-1\s0 decode. (\s-1DEFAULT\s0)
283-To see \s-1ISO8859\-1\s0 (Latin\-1) \-l is necessary.
299+\&\s-1MIME ISO\-2022\-JP/ISO8859\-1\s0 decode. (\s-1DEFAULT\s0)
300+To see \s-1ISO8859\-1 \s0(Latin\-1) \-l is necessary.
284301 .RS 4
285302 .IP "\fB\-mB\fR" 4
286303 .IX Item "-mB"
@@ -315,8 +332,8 @@ Perform quoted encoding.
315332 .RE
316333 .IP "\fB\-l\fR" 4
317334 .IX Item "-l"
318-Input and output code is \s-1ISO8859\-1\s0 (Latin\-1) and \s-1ISO\-2022\-JP\s0.
319-\&\fB\-s\fR, \fB\-e\fR and \fB\-x\fR are not compatible with this option.
335+Input and output code is \s-1ISO8859\-1 \s0(Latin\-1) and \s-1ISO\-2022\-JP.
336+\&\s0\fB\-s\fR, \fB\-e\fR and \fB\-x\fR are not compatible with this option.
320337 .IP "\fB\-L[uwm] \-d \-c\fR" 4
321338 .IX Item "-L[uwm] -d -c"
322339 Convert line breaks.
@@ -351,10 +368,10 @@ Set the input or output codeset.
351368 .RS 4
352369 .IP "\s-1ISO\-2022\-JP\s0" 4
353370 .IX Item "ISO-2022-JP"
354-a.k.a. \s-1RFC1468\s0, 7bit \s-1JIS\s0, \s-1JUNET\s0
371+a.k.a. \s-1RFC1468,\s0 7bit \s-1JIS, JUNET\s0
355372 .IP "EUC-JP (eucJP-nkf)" 4
356373 .IX Item "EUC-JP (eucJP-nkf)"
357-a.k.a. \s-1AT&T\s0 \s-1JIS\s0, Japanese \s-1EUC\s0, \s-1UJIS\s0
374+a.k.a. \s-1AT&T JIS,\s0 Japanese \s-1EUC, UJIS\s0
358375 .IP "eucJP-ascii" 4
359376 .IX Item "eucJP-ascii"
360377 .PD 0
@@ -366,7 +383,7 @@ a.k.a. \s-1AT&T\s0 \s-1JIS\s0, Japanese \s-1EUC\s0, \s-1UJIS\s0
366383 Microsoft Version of EUC-JP.
367384 .IP "Shift_JIS" 4
368385 .IX Item "Shift_JIS"
369-a.k.a. \s-1SJIS\s0, MS_Kanji
386+a.k.a. \s-1SJIS,\s0 MS_Kanji
370387 .IP "Windows\-31J" 4
371388 .IX Item "Windows-31J"
372389 a.k.a. \s-1CP932\s0
@@ -379,7 +396,7 @@ same as \s-1UTF\-8N\s0
379396 .IP "\s-1UTF\-8\-BOM\s0" 4
380397 .IX Item "UTF-8-BOM"
381398 \&\s-1UTF\-8\s0 with \s-1BOM\s0
382-.IP "\s-1UTF8\-MAC\s0 (input only)" 4
399+.IP "\s-1UTF8\-MAC \s0(input only)" 4
383400 .IX Item "UTF8-MAC (input only)"
384401 decomposed \s-1UTF\-8\s0
385402 .IP "\s-1UTF\-16\s0" 4
@@ -446,7 +463,7 @@ Unescape percent escaped characters.
446463 .IX Item "--numchar-input"
447464 Decode character reference, such as \*(L"&#....;\*(R".
448465 .IP "\fB\-\-in\-place[=\fR\fI\s-1SUFFIX\s0\fR\fB]\fR \fB\-\-overwrite[=\fR\fI\s-1SUFFIX\s0\fR\fB]\fR" 4
449-.IX Item "--in-place[=SUFFIX] --overwrite[=SUFFIX]"
466+.IX Item "--in-place[=SUFFIX] --overwrite[=SUFFIX]"
450467 Overwrite \fBoriginal\fR listed files by filtered result.
451468 .Sp
452469 \&\fBNote\fR \-\-overwrite preserves timestamps of original files.
@@ -464,6 +481,6 @@ Print nkf's version.
464481 Ignore rest of \-option.
465482 .SH "AUTHOR"
466483 .IX Header "AUTHOR"
467-Copyright (c) 1987, Fujitsu \s-1LTD\s0. (Itaru \s-1ICHIKAWA\s0).
484+Copyright (c) 1987, Fujitsu \s-1LTD. \s0(Itaru \s-1ICHIKAWA\s0).
468485 .PP
469-Copyright (c) 1996\-2013, The nkf Project.
486+Copyright (c) 1996\-2015, The nkf Project.
--- a/nkf.1j
+++ b/nkf.1j
@@ -1,4 +1,4 @@
1-.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
1+.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
22 .\"
33 .\" Standard preamble:
44 .\" ========================================================================
@@ -38,6 +38,8 @@
3838 . ds PI \(*p
3939 . ds L" ``
4040 . ds R" ''
41+. ds C`
42+. ds C'
4143 'br\}
4244 .\"
4345 .\" Escape single quotes in literal strings from groff's Unicode transform.
@@ -48,21 +50,28 @@
4850 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
4951 .\" entries marked with X<> in POD. Of course, you'll have to process the
5052 .\" output yourself in some meaningful fashion.
51-.ie \nF \{\
52-. de IX
53-. tm Index:\\$1\t\\n%\t"\\$2"
53+.\"
54+.\" Avoid warning from groff about undefined register 'F'.
55+.de IX
5456 ..
55-. nr % 0
56-. rr F
57-.\}
58-.el \{\
59-. de IX
57+.nr rF 0
58+.if \n(.g .if rF .nr rF 1
59+.if (\n(rF:(\n(.g==0)) \{
60+. if \nF \{
61+. de IX
62+. tm Index:\\$1\t\\n%\t"\\$2"
6063 ..
64+. if !\nF==2 \{
65+. nr % 0
66+. nr F 2
67+. \}
68+. \}
6169 .\}
70+.rr rF
6271 .\" ========================================================================
6372 .\"
6473 .IX Title "nkf 1"
65-.TH nkf 1 "2013-11-22" "nkf 2.1.3" " "
74+.TH nkf 1 "2015-12-12" "nkf 2.1.4" " "
6675 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
6776 .\" way too many mistakes in technical documents.
6877 .if n .ad l
@@ -81,7 +90,7 @@ nkf \fB[\-butjnesliohrTVvwWJESZxXFfmMBOcdILg]\fR \fB[\fR\fIfile ...\fR\fB]\fR
8190 ただ、この判定機構は、理論的には完全ではないが、通常のニュースやメールのメッセージについては確実に動作する安全なものにはなっている。
8291 .PP
8392 現在、\fBnkf\fRが認識できる入力の漢字コード系は、いわゆる \s-1JIS\s0 コード (\s-1ISO\-2022\-JP\s0 に基づくもの)、Shift_JIS (\s-1MS\s0 漢字コード)、
84-日本語 \s-1EUC\s0 (\s-1AT&T\s0 コード)、UTF\-8、UTF\-16 のいずれかである。
93+日本語 \s-1EUC \s0(\s-1AT&T\s0 コード)、UTF\-8、UTF\-16 のいずれかである。
8594 出力する漢字コード系も、これらである。
8695 入力は、ファイルを指定しなければ、標準入力となる。
8796 出力は標準出力である。
@@ -126,8 +135,8 @@ Unicode を出力する。
126135 .IP "\fB\-m[\s-1BQSN0\s0]\fR" 4
127136 .IX Item "-m[BQSN0]"
128137 \&\s-1MIME\s0 を解読する。(デフォルト)
129-\&\s-1ISO\-2022\-JP\s0 (B encode) と \s-1ISO\-8859\-1\s0 (Q encode) のみを解読する。
130-\&\s-1ISO\-8859\-1\s0 (Latin\-1) を解読する時は、\fB\-l\fR フラグも必要である。
138+\&\s-1ISO\-2022\-JP \s0(B encode) と \s-1ISO\-8859\-1 \s0(Q encode) のみを解読する。
139+\&\s-1ISO\-8859\-1 \s0(Latin\-1) を解読する時は、\fB\-l\fR フラグも必要である。
131140 \&\fB\-m0\fR では \s-1MIME\s0 を解読しない。
132141 \&\fB\-mB\fR, \fB\-mQ\fR では、BASE64, Q encode されているものとして処理する。
133142 .RS 4
@@ -178,11 +187,11 @@ Quoted stream に変換する
178187 \&\s-1ISO\-2022\-JP\s0 を仮定する。
179188 .IP "\fB\-E\fR" 4
180189 .IX Item "-E"
181-日本語 \s-1EUC\s0 (\s-1AT&T\s0) を仮定する。
190+日本語 \s-1EUC \s0(\s-1AT&T\s0) を仮定する。
182191 .IP "\fB\-S\fR" 4
183192 .IX Item "-S"
184193 Shift_JIS を仮定する。
185-いわゆる半角カナ (\s-1JIS\s0 X 0201 片仮名) も受け入れる。
194+いわゆる半角カナ (\s-1JIS X 0201\s0 片仮名) も受け入れる。
186195 .IP "\fB\-W\fR" 4
187196 .IX Item "-W"
188197 \&\s-1UTF\-8\s0 を仮定する。
@@ -191,25 +200,25 @@ Shift_JIS を仮定する。
191200 \&\s-1UTF\-8\s0 を仮定する。
192201 .IP "\fB\-W16\fR" 4
193202 .IX Item "-W16"
194-\&\s-1UTF\-16\s0 (Little Endian)を仮定する。
203+\&\s-1UTF\-16 \s0(Little Endian)を仮定する。
195204 .IP "\fB\-W16B\fR" 4
196205 .IX Item "-W16B"
197-\&\s-1UTF\-16\s0 (Big Endian)を仮定する。
206+\&\s-1UTF\-16 \s0(Big Endian)を仮定する。
198207 .IP "\fB\-W16L\fR" 4
199208 .IX Item "-W16L"
200-\&\s-1UTF\-16\s0 (Little Endian)を仮定する。
209+\&\s-1UTF\-16 \s0(Little Endian)を仮定する。
201210 .RE
202211 .RS 4
203212 .RE
204213 .IP "\fB\-x\fR" 4
205214 .IX Item "-x"
206-通常おこなわれる、いわゆる半角カナ (\s-1JIS\s0 X 0201 片仮名)
207-からいわゆる全角カナ (\s-1JIS\s0 X 0208 片仮名) への変換を行わず、半角カナを保存する。
215+通常おこなわれる、いわゆる半角カナ (\s-1JIS X 0201\s0 片仮名)
216+からいわゆる全角カナ (\s-1JIS X 0208\s0 片仮名) への変換を行わず、半角カナを保存する。
208217 入力は、Shift_JIS の 1byte カナ、SO/SI、ESC\-(\-I, \s-1SSO\s0 を受け付ける。
209218 出力は、日本語 \s-1EUC\s0 中では SSO、JIS コード中では \s-1ESC\-\s0(\-I をデフォルトで用いる。
210219 .IP "\fB\-X\fR" 4
211220 .IX Item "-X"
212-いわゆる半角カナ (\s-1JIS\s0 X 0201 片仮名) を いわゆる全角カナ (\s-1JIS\s0 X 0208 片仮名) へと変換する。
221+いわゆる半角カナ (\s-1JIS X 0201\s0 片仮名) を いわゆる全角カナ (\s-1JIS X 0208\s0 片仮名) へと変換する。
213222 .IP "\fB\-B\fR" 4
214223 .IX Item "-B"
215224 壊れた (Broken) \s-1JIS\s0 コード。
@@ -230,18 +239,18 @@ Shift_JIS を仮定する。
230239 デフォルトは文字数は 60、マージンは 10 である。
231240 .IP "\fB\-Z[0\-3]\fR" 4
232241 .IX Item "-Z[0-3]"
233-\&\s-1JIS\s0 X 0208 英数字と若干の記号を \s-1ASCII\s0 に変換する。
242+\&\s-1JIS X 0208\s0 英数字と若干の記号を \s-1ASCII\s0 に変換する。
234243 つまり、全角を半角に変換する。
235244 .RS 4
236245 .IP "\fB\-Z \-Z0\fR" 4
237246 .IX Item "-Z -Z0"
238-Convert X0208 alphabet to \s-1ASCII\s0.
247+Convert X0208 alphabet to \s-1ASCII.\s0
239248 .IP "\fB\-Z1\fR" 4
240249 .IX Item "-Z1"
241-\&\s-1JIS\s0 X 0208 和字間隔を \s-1ASCII\s0 space 一つに変換する。
250+\&\s-1JIS X 0208\s0 和字間隔を \s-1ASCII\s0 space 一つに変換する。
242251 .IP "\fB\-Z2\fR" 4
243252 .IX Item "-Z2"
244-\&\s-1JIS\s0 X 0208 和字間隔を \s-1ASCII\s0 space 二つに変換する。
253+\&\s-1JIS X 0208\s0 和字間隔を \s-1ASCII\s0 space 二つに変換する。
245254 .IP "\fB\-Z3\fR" 4
246255 .IX Item "-Z3"
247256 >、<、”、&、を &gt;、&lt;、&quot;、&amp; に変換する。
@@ -267,10 +276,10 @@ ssh localhost | nkf \-u というように使う。
267276 .RS 4
268277 .IP "\fB\-i@\fR" 4
269278 .IX Item "-i@"
270-\&\s-1JIS\s0 X 0208\-1978 を用いる。
279+\&\s-1JIS X 0208\-1978\s0 を用いる。
271280 .IP "\fB\-iB\fR" 4
272281 .IX Item "-iB"
273-\&\s-1JIS\s0 X 0208\-1983/1990 を用いる。
282+\&\s-1JIS X 0208\-1983/1990\s0 を用いる。
274283 .RE
275284 .RS 4
276285 .RE
@@ -283,10 +292,10 @@ ssh localhost | nkf \-u というように使う。
283292 1 バイト英数文字セットとして US-ASCII を用いる。
284293 .IP "\fB\-oJ\fR" 4
285294 .IX Item "-oJ"
286-1 バイト英数文字セットとして \s-1JIS\s0 X 0201 Roman を用いる。
295+1 バイト英数文字セットとして \s-1JIS X 0201\s0 Roman を用いる。
287296 .IP "\fB\-oH\fR" 4
288297 .IX Item "-oH"
289-\&\s-1ESC\s0 ( H は初期の \s-1JUNET\s0 コードでのみ用いられたもので、現在は使ってはならない。
298+\&\s-1ESC \s0( H は初期の \s-1JUNET\s0 コードでのみ用いられたもので、現在は使ってはならない。
290299 .RE
291300 .RS 4
292301 .RE
@@ -301,7 +310,7 @@ ssh localhost | nkf \-u というように使う。
301310 テキストモードで出力する。(\s-1MS\-DOS\s0 上でのみ効力を持つ)
302311 .IP "\fB\-l\fR" 4
303312 .IX Item "-l"
304-0x80\-0xfe のコードを \s-1ISO\-8859\-1\s0 (Latin\-1) として扱う。
313+0x80\-0xfe のコードを \s-1ISO\-8859\-1 \s0(Latin\-1) として扱う。
305314 \&\s-1JIS\s0 コードアウトプットとの組合せみのみ有効。
306315 \&\fB\-s, \-e, \-x\fR とは両立しない。
307316 .IP "\fB\-O\fR" 4
@@ -337,19 +346,19 @@ mac (\s-1CR\s0)
337346 いわゆる \s-1JIS\s0 コード。\fB\-j, \-J\fR と同じ。
338347 .IP "\fB\s-1ISO\-2022\-JP\-1\s0\fR" 4
339348 .IX Item "ISO-2022-JP-1"
340-\&\s-1RFC\s0 2237 に定められた形式。 \s-1JIS\s0 X 0212 を含む。
349+\&\s-1RFC 2237\s0 に定められた形式。 \s-1JIS X 0212\s0 を含む。
341350 .IP "\fB\s-1ISO\-2022\-JP\-3\s0\fR" 4
342351 .IX Item "ISO-2022-JP-3"
343-\&\s-1RFC\s0 2237 に定められた形式。 \s-1JIS\s0 X 0213 を含む。
352+\&\s-1RFC 2237\s0 に定められた形式。 \s-1JIS X 0213\s0 を含む。
344353 .IP "\fBEUC-JP\fR" 4
345354 .IX Item "EUC-JP"
346355 \&\s-1EUC\s0 コード。\fB\-e, \-E\fR と同じ。
347356 .IP "\fB\s-1EUC\-JISX0213\s0\fR" 4
348357 .IX Item "EUC-JISX0213"
349-文字集合に \s-1JIS\s0 X 0213:2000 を用いた EUC\-JP。
358+文字集合に \s-1JIS X 0213:2000\s0 を用いた EUC\-JP。
350359 .IP "\fB\s-1EUC\-JIS\-2004\s0\fR" 4
351360 .IX Item "EUC-JIS-2004"
352-文字集合に \s-1JIS\s0 X 0213:2004 を用いた EUC\-JP。
361+文字集合に \s-1JIS X 0213:2004\s0 を用いた EUC\-JP。
353362 .IP "\fBeucJP-ascii\fR" 4
354363 .IX Item "eucJP-ascii"
355364 オープングループ日本ベンダ協議会が定義した eucJP\-ascii。
@@ -368,15 +377,15 @@ Shift_JIS。
368377 \&\fB\-s, \-S\fR と同じ。
369378 .IP "\fBShift_JISX0213\fR" 4
370379 .IX Item "Shift_JISX0213"
371-文字集合に \s-1JIS\s0 X 0213:2000 を用いた Shift_JIS。
380+文字集合に \s-1JIS X 0213:2000\s0 を用いた Shift_JIS。
372381 .IP "\fBShift_JIS\-2004\fR" 4
373382 .IX Item "Shift_JIS-2004"
374-文字集合に \s-1JIS\s0 X 0213:2004 を用いた Shift_JIS。
383+文字集合に \s-1JIS X 0213:2004\s0 を用いた Shift_JIS。
375384 .IP "\fB\s-1CP932\s0\fR" 4
376385 .IX Item "CP932"
377386 Micorosft Code Page 932。
378387 \&\fB\-x\fR が暗黙のうちに指定される。
379-.IP "\fB\s-1UTF\-8\s0 \s-1UTF\-8N\s0\fR" 4
388+.IP "\fB\s-1UTF\-8 UTF\-8N\s0\fR" 4
380389 .IX Item "UTF-8 UTF-8N"
381390 \&\s-1BOM\s0 無しの UTF\-8。
382391 \&\fB\-w, \-W\fR と同じ。
@@ -387,7 +396,7 @@ Micorosft Code Page 932。
387396 .IX Item "UTF8-MAC"
388397 UTF8\-MAC。互換分解されたひらがな・カタカナ等を結合します。
389398 入力のみの対応です。
390-.IP "\fB\s-1UTF\-16\s0 \s-1UTF\-16BE\-BOM\s0\fR" 4
399+.IP "\fB\s-1UTF\-16 UTF\-16BE\-BOM\s0\fR" 4
391400 .IX Item "UTF-16 UTF-16BE-BOM"
392401 \&\s-1BOM\s0 有りで Big Endian の UTF\-16。
393402 \&\fB\-w16B, \-W16B\fR と同じ。
@@ -407,7 +416,7 @@ UTF8\-MAC。互換分解されたひらがな・カタカナ等を結合します。
407416 .RS 4
408417 .RE
409418 .IP "\fB\-\-fj \-\-unix \-\-mac \-\-msdos \-\-windows\fR" 4
410-.IX Item "--fj --unix --mac --msdos --windows"
419+.IX Item "--fj --unix --mac --msdos --windows"
411420 これらのシステムに適した変換をします。
412421 .IP "\fB\-\-jis \-\-euc \-\-sjis \-\-mime \-\-base64\fR" 4
413422 .IX Item "--jis --euc --sjis --mime --base64"
@@ -445,7 +454,7 @@ Unicode から Unicode の変換の際に \-x と共に指定すると、nkf
445454 .IX Item "--numchar-input"
446455 &#....; のような Unicode 文字参照を変換する
447456 .IP "\fB\-\-in\-place[=\f(BI\s-1SUFFIX\s0\fB] \-\-overwrite[=\f(BI\s-1SUFFIX\s0\fB]\fR" 4
448-.IX Item "--in-place[=SUFFIX] --overwrite[=SUFFIX]"
457+.IX Item "--in-place[=SUFFIX] --overwrite[=SUFFIX]"
449458 元のファイルを変換結果で置き換える。
450459 複数のファイルを書き換えることも可能。
451460 元のファイルのタイムスタンプとパーミッションが保持される。
@@ -479,7 +488,7 @@ nkf [options] \-\-exec\-out cmd args... とやると、nkf の出力を cmd
479488 そして、特定不能の間は保留バッファにためておかれ、確定後に処理される。
480489 このため、7 ビット \s-1JIS\s0 は常に認識される。
481490 Shift_JIS、EUC 混合もほとんどの場合は問題がない。
482-ただし、Shift_JIS のいわゆる半角カナ (\s-1JIS\s0 X 0201 片仮名) と \s-1EUC\s0 漢字が識別できない。
491+ただし、Shift_JIS のいわゆる半角カナ (\s-1JIS X 0201\s0 片仮名) と \s-1EUC\s0 漢字が識別できない。
483492 したがって、デフォルトでは Shift_JIS のいわゆる半角カナはないと仮定している。
484493 (つまり、Shift_JIS か \s-1EUC\s0 か迷った時は \s-1EUC\s0 とみなす)
485494 .PP
@@ -517,7 +526,7 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
517526 .IX Item "Fumitaka Kitagawa"
518527 .IP "Hiroaki Sengoku" 4
519528 .IX Item "Hiroaki Sengoku"
520-.IP "Ikuhiro \s-1MORITA\s0 (森田 育宏)" 4
529+.IP "Ikuhiro \s-1MORITA \s0(森田 育宏)" 4
521530 .IX Item "Ikuhiro MORITA (森田 育宏)"
522531 .IP "Yoshiharu \s-1ITO\s0" 4
523532 .IX Item "Yoshiharu ITO"
@@ -538,7 +547,7 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
538547 .IP "Koichi Hirayama" 4
539548 .IX Item "Koichi Hirayama"
540549 .IP "Mitsuru Hase (長谷 満)" 4
541-.IX Item "Mitsuru Hase (長谷 満)"
550+.IX Item "Mitsuru Hase (長谷 満)"
542551 .IP "\s-1OHARA\s0 Shigeki (大原 重樹)" 4
543552 .IX Item "OHARA Shigeki (大原 重樹)"
544553 .IP "Rei \s-1FURUKAWA\s0" 4
@@ -608,13 +617,13 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
608617 .IP "小島基靖" 4
609618 .IX Item "小島基靖"
610619 .IP "上田 健" 4
611-.IX Item "上田 健"
620+.IX Item "上田 健"
612621 .IP "新井 康司 (Koji Arai)" 4
613622 .IX Item "新井 康司 (Koji Arai)"
614623 .IP "森 千絵子" 4
615-.IX Item "森 千絵子"
624+.IX Item "森 千絵子"
616625 .IP "森 和彦" 4
617-.IX Item "森 和彦"
626+.IX Item "森 和彦"
618627 .IP "水野 貴文" 4
619628 .IX Item "水野 貴文"
620629 .IP "前地和俊" 4
@@ -624,7 +633,7 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
624633 .IP "猪谷 英一郎 == Eiichiro Itani" 4
625634 .IX Item "猪谷 英一郎 == Eiichiro Itani"
626635 .IP "藤原 秀行" 4
627-.IX Item "藤原 秀行"
636+.IX Item "藤原 秀行"
628637 .IP "八田 真行 (Masayuki Hatta)" 4
629638 .IX Item "八田 真行 (Masayuki Hatta)"
630639 .IP "尾川敏也" 4
@@ -642,7 +651,7 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
642651 .IP "落合一喜" 4
643652 .IX Item "落合一喜"
644653 .IP "林 亮" 4
645-.IX Item "林 亮"
654+.IX Item "林 亮"
646655 .IP "國安 治" 4
647656 .IX Item "國安 治"
648657 .IP "木下 雄介" 4
@@ -663,12 +672,12 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
663672 .SH "AUTHOR"
664673 .IX Header "AUTHOR"
665674 .IP "市川 至 ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)" 4
666-.IX Item "市川 至 ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)"
675+.IX Item "市川 至 ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)"
667676 .PD 0
668677 .IP "河野 真治 kono@ie.u\-ryukyu.acjp" 4
669-.IX Item "河野 真治 kono@ie.u-ryukyu.acjp"
670-.IP "Rei \s-1FURUKAWA\s0 furukawa@tcp\-ip.or.jp" 4
671-.IX Item "Rei FURUKAWA furukawa@tcp-ip.or.jp"
678+.IX Item "河野 真治 kono@ie.u-ryukyu.acjp"
679+.IP "Rei \s-1FURUKAWA \s0 furukawa@tcp\-ip.or.jp" 4
680+.IX Item "Rei FURUKAWA furukawa@tcp-ip.or.jp"
672681 .IP "成瀬" 4
673682 .IX Item "成瀬"
674683 .IP "mastodon" 4
@@ -677,6 +686,6 @@ GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
677686 .PP
678687 http://sourceforge.jp/projects/nkf/
679688 .PP
680-Copyright (C) 1987, \s-1FUJITSU\s0 \s-1LTD\s0. (I.Ichikawa).
689+Copyright (C) 1987, \s-1FUJITSU LTD. \s0(I.Ichikawa).
681690 .PP
682691 Copyright (C) 1996\-2013, The nkf Project.
--- a/nkf.c
+++ b/nkf.c
@@ -20,11 +20,11 @@
2020 *
2121 * 3. This notice may not be removed or altered from any source distribution.
2222 */
23-#define NKF_VERSION "2.1.3"
24-#define NKF_RELEASE_DATE "2013-11-22"
23+#define NKF_VERSION "2.1.4"
24+#define NKF_RELEASE_DATE "2015-12-12"
2525 #define COPY_RIGHT \
2626 "Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).\n" \
27- "Copyright (C) 1996-2013, The nkf Project."
27+ "Copyright (C) 1996-2015, The nkf Project."
2828
2929 #include "config.h"
3030 #include "nkf.h"
--- a/nkf32dll.c
+++ b/nkf32dll.c
@@ -4,11 +4,11 @@
44
55 /*WIN32DLL*/
66 /* こちらのバージョンも更新してください。 */
7-#define NKF_VERSIONW L"2.1.3"
7+#define NKF_VERSIONW L"2.1.4"
88 /* NKF_VERSION のワイド文字 */
9-#define DLL_VERSION "2.1.3.0 2"
9+#define DLL_VERSION "2.1.4.0 2"
1010 /* DLLが返す */
11-#define DLL_VERSIONW L"2.1.3.0 2"
11+#define DLL_VERSIONW L"2.1.4.0 2"
1212 /* DLLが返す DLL_VERSION のワイド文字 */
1313
1414 /* nkf32.dll main */
--- a/version.rc
+++ b/version.rc
@@ -1,8 +1,8 @@
11 #include <windows.h>
22
33 1 VERSIONINFO
4-FILEVERSION 2,1,3,0
5-PRODUCTVERSION 2,1,3,0
4+FILEVERSION 2,1,4,0
5+PRODUCTVERSION 2,1,4,0
66 FILEFLAGSMASK 0x3fL
77 #ifdef _DEBUG
88 FILEFLAGS 0x1L
@@ -19,12 +19,12 @@ FILESUBTYPE 0x0L
1919 {
2020 VALUE "CompanyName", "project nkf\0"
2121 VALUE "FileDescription", "Network Kanji Filter\0"
22- VALUE "FileVersion", "2.1.3\0"
22+ VALUE "FileVersion", "2.1.4\0"
2323 VALUE "InternalName", "nkf\0"
2424 VALUE "LegalCopyright", "Copyright (C) 1987, Fujitsu LTD. (Itaru ICHIKAWA)\0"
2525 VALUE "OriginalFilename", "nkf.c\0"
2626 VALUE "ProductName", "nkf.exe\0"
27- VALUE "ProductVersion", "2.1.3\0"
27+ VALUE "ProductVersion", "2.1.4\0"
2828 }
2929 }
3030 BLOCK "VarFileInfo"
Show on old repository browser