# NKF \$B\$N(B MIME \$B%(%s%3!<%I!&%G%3!<%I(B

e\$B\$-\$7\$b\$H\$G\$9e(B

e\$B<!\$K<(\$9\$h\$&\$J!"FCDj\$N%Q%?!<%s\$NJ8;zNs\$r!"e(Bruby
e\$BE:IU%i%\$%V%i%j\$Ne(B NKF e\$B\$Ge(B
MIME e\$B%(%s%3!<%I!&%G%3!<%I\$9\$k\$H!“85\$KLa\$j\$^\$;\$s!#e(B
e\$BD9\$5\$K\$\$+\$7\$/\$J\$k\$7\$-\$\$CM\$,\$"\$k\$h\$&\$J\$N\$G!"@5>oF0:n\$9\$k\$b\$N\$H\$\$+\$7\$/\$J\$ke(B
e\$B\$b\$N\$H\$N6-3&\$NNc\$r<(\$7\$^\$9!#e(B
ruby 1.8 e\$B\$He(B 1.9 e\$B\$G!”\$7\$-\$\$CM\$H>I>u\$,0[\$J\$j\$^\$9!#e(B

====

ruby 1.8

\$ ruby -v
ruby 1.8.7 (2009-04-08 patchlevel 160) [amd64-freebsd8]
\$ ruby -rnkf -e “puts NKF.nkf(’-mw’, NKF.nkf(’-Mj’, ‘a’ * 60 +
‘e\$B\$"e(B’))”
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae\$B\$"e(B
\$ ruby -rnkf -e “puts NKF.nkf(’-mw’, NKF.nkf(’-Mj’, ‘a’ * 61 +
‘e\$B\$"e(B’))”
iie\$B%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%rSJ%re(B
e\$B\$"e(B

====

ruby 1.9

\$ ruby19 -v
ruby 1.9.2dev (2009-09-16 trunk 24960) [x86_64-freebsd8.0]
\$ ruby19 -rnkf -e “puts NKF.nkf(’-mw’, NKF.nkf(’-Mj’, ‘a’ * 74 +
‘e\$B\$"e(B’))”
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae\$B\$"e(B
\$ ruby19 -rnkf -e “puts NKF.nkf(’-mw’, NKF.nkf(’-Mj’, ‘a’ * 75 +
‘e\$B\$"e(B’))”
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
?ISO-2022-JP?B?JEIkIhsoQg==?=

e\$B\$5\$H\$&\$U\$_\$d\$9e(B @ OSSTech e\$B\$G\$9!#e(B

At Thu, 19 Nov 2009 17:36:00 +0900,
KISHIMOTO, Makoto wrote:

e\$B<!\$K<(\$9\$h\$&\$J!"FCDj\$N%Q%?!<%s\$NJ8;zNs\$r!"e(Bruby e\$BE:IU%i%\$%V%i%j\$Ne(B NKF e\$B\$Ge(B
MIME e\$B%(%s%3!<%I!&%G%3!<%I\$9\$k\$H!“85\$KLa\$j\$^\$;\$s!#e(B
e\$BD9\$5\$K\$\$+\$7\$/\$J\$k\$7\$-\$\$CM\$,\$"\$k\$h\$&\$J\$N\$G!"@5>oF0:n\$9\$k\$b\$N\$H\$\$+\$7\$/\$J\$ke(B
e\$B\$b\$N\$H\$N6-3&\$NNc\$r<(\$7\$^\$9!#e(B
ruby 1.8 e\$B\$He(B 1.9 e\$B\$G!”\$7\$-\$\$CM\$H>I>u\$,0[\$J\$j\$^\$9!#e(B

e\$B;w\$?e(B(?)e\$B\$h\$&\$J8=>]\$G!“0J2<\$N\$h\$&\$J\$b\$N\$,\$”\$j\$^\$9e(B:

\$ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
\$ ruby -rnkf -e ‘p NKF.nkf("-wM",“x”*60)’
“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
\$ ruby -rnkf -e ‘p NKF.nkf("-wM",“x”*61)’
“=?EUC-JP?B?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?=\n
"
\$ ruby1.9 --version
ruby 1.9.0 (2008-10-04 revision 19669) [x86_64-linux]
\$ ruby1.9 -rnkf -e 'p NKF.nkf(”-wM",“x”*60)’
“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
\$ ruby1.9 -rnkf -e ‘p NKF.nkf("-wM",“x”*61)’
“=?US-ASCII?Q?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?=\n
=?US-ASCII?Q?xxx?=”

e\$B\$A\$J\$_\$K!"%*%j%8%J%ke(B(?)e\$B\$Ne(B nkf(1) e\$B\$bJQ\$G\$9!#e(B

\$ nkf --version
Network Kanji Filter Version 2.0.7 (2006-06-13)
zsh: exit 1 nkf --version
\$ ruby -e ‘puts “x”*61’ |nkf -wM
=?EUC-JP?B?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?=

e\$B@.@%\$G\$9!#e(B

KISHIMOTO, Makoto wrote:

e\$B<!\$K<(\$9\$h\$&\$J!"FCDj\$N%Q%?!<%s\$NJ8;zNs\$r!"e(Bruby e\$BE:IU%i%\$%V%i%j\$Ne(B NKF e\$B\$Ge(B
MIME e\$B%(%s%3!<%I!&%G%3!<%I\$9\$k\$H!"85\$KLa\$j\$^\$;\$s!#e(B
e\$BD9\$5\$K\$\$+\$7\$/\$J\$k\$7\$-\$\$CM\$,\$“\$k\$h\$&\$J\$N\$G!”@5>oF0:n\$9\$k\$b\$N\$H\$\$+\$7\$/\$J\$ke(B
e\$B\$b\$N\$H\$N6-3&\$NNc\$r<(\$7\$^\$9!#e(B

\$ ruby19 -v
ruby 1.9.2dev (2009-09-16 trunk 24960) [x86_64-freebsd8.0]
\$ ruby19 -rnkf -e “puts NKF.nkf(‘-mw’, NKF.nkf(‘-Mj’, ‘a’ * 74 + ‘e\$B\$"e(B’))”
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae\$B\$"e(B
\$ ruby19 -rnkf -e “puts NKF.nkf(‘-mw’, NKF.nkf(‘-Mj’, ‘a’ * 75 + ‘e\$B\$"e(B’))”
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ?ISO-2022-JP?B?JEIkIhsoQg==?=

e\$B\$3\$l\$O0J2<\$K\$F=\$@5\$7\$^\$7\$?!"e(BRuby 1.8.8 e\$B\$de(B Ruby 1.9.2
e\$B\$G\$O=\$@5\$5\$l\$k\$G\$7\$g\$&!#e(B
http://git.sourceforge.jp/view?p=nkf/nkf.git;a=commit;h=88b848edfbddd42ebf2be54d3615c35402606726

ruby 1.8 e\$B\$He(B 1.9 e\$B\$G!"\$7\$-\$\$CM\$H>I>u\$,0[\$J\$j\$^\$9!#e(B

Ruby 1.8.7 e\$B\$Ne(B nkf e\$B\$O8E\$\$\$+\$i\$G!"\$3\$N%P%0\$O?7\$7\$\$e(B nkf
e\$B\$G\$O=\$@5:Q\$_\$G\$9!#e(B
e\$B\$J\$*!"e(BRuby e\$B\$Ne(B nkf e\$B\$N%P!<%8%g%s\$Oe(B NKF::VERSION
e\$B\$G8+\$k\$3\$H\$,=PMh\$^\$9!#e(B

e\$B@.@%\$G\$9!#e(B

SATOH Fumiyasu wrote:

\$ ruby1.9 -rnkf -e ‘p NKF.nkf("-wM",“x”*60)’
“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
\$ ruby1.9 -rnkf -e ‘p NKF.nkf("-wM",“x”*61)’
“=?US-ASCII?Q?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?=\n =?US-ASCII?Q?xxx?=”

e\$BN><T\$H\$b!“e(BRuby 1.8 e\$B%V%i%s%A\$de(B Ruby 1.9 e\$B\$Ne(B HEAD
e\$B\$G\$O=\$@5:Q\$_\$G\$9!#e(B
e\$B\$J\$*!”\$3\$N=\$@5\$Oe(B patchlevel e\$B\$K\$O<h\$j9~\$^\$l\$J\$\$M=Dj\$G\$9!#e(B

e\$B\$"\$H!"e(BRuby 1.9.0 e\$B\$Oe(B Ruby
e\$B\$N3+H/%A!<%`\$H\$7\$F\$O4{\$K%5%]!<%H\$7\$F\$\$\$J\$\$\$N\$G!"e(B
e\$B\$b\$&<N\$F\$F\$7\$^\$C\$F\$/\$@\$5\$\$!#e(B

e\$B\$A\$J\$_\$K!"%*%j%8%J%ke(B(?)e\$B\$Ne(B nkf(1) e\$B\$bJQ\$G\$9!#e(B

\$ nkf --version
Network Kanji Filter Version 2.0.7 (2006-06-13)