OSDN Git Service

add document about multiple options [nkf-bug#32974]
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 9 Dec 2014 01:16:02 +0000 (10:16 +0900)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 9 Dec 2014 01:16:02 +0000 (10:16 +0900)
NKF.mod/NKF.pm

index a159d40..d27f499 100644 (file)
@@ -1,5 +1,5 @@
 # Copyright (c) 1987, Fujitsu LTD. (Itaru ICHIKAWA).
-# Copyright (c) 1996-2010, The nkf Project.
+# Copyright (c) 1996-2014, The nkf Project.
 # All rights reserved.
 #
 # This software is provided 'as-is', without any express or implied
@@ -99,6 +99,12 @@ For X0201 kana, SO/SI, SSO and ESC-(-I methods are supported.
 For automatic code detection, nkf assumes no X0201 kana in Shift_JIS.
 To accept X0201 in Shift_JIS, use B<-X>, B<-x> or B<-S>.
 
+multiple options are specifed as seprate strings, such as
+
+  print nkf('--ic=UTF8-MAC', '-w', $string), "\n";
+
+except the last arguments.
+
 =head1 OPTIONS
 
 =over
@@ -499,7 +505,7 @@ Ignore rest of -option.
 
 Copyright (c) 1987, Fujitsu LTD. (Itaru ICHIKAWA).
 
-Copyright (c) 1996-2013, The nkf Project.
+Copyright (c) 1996-2014, The nkf Project.
 
 =begin