Bug #1957: NKF.nkf e$B$G%7%U%He(BJISe$B$Ne(B “\e” e$B$,e(B “”
e$B$KJQ49$5$l$ke(B
http://redmine.ruby-lang.org/issues/show/1957
e$B5/I<<Te(B: Masahiro T.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
e$B$H$_$?$G$9!#e(B
NKF.nkf e$B$Ge(B -S e$B;XDj$7$Fe(B “\e” e$B$rJQ49$9$k$He(B “”
e$B$K$J$C$F$7$^$$$^$9!#e(B
$ ruby -v -r nkf -e ‘p NKF.nkf(“-Ss”, “\e”)’
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
“”
-Se e$B$G$be(B -Sw e$B$G$bF1$8$G$9!#e(B-Es e$B$de(B -Ws
e$B$G$OLdBj$"$j$^$;$s!#e(B
$ ruby -v -r nkf -e ‘p NKF.nkf(“-Es”, “\e”)’
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
“\e”
\e e$B$,J8;zNs$N0lIt$G$“$k>l9g$OLdBj$”$j$^$;$s!#e(B
$ ruby -v -r nkf -e ‘p NKF.nkf(“-Ss”, “\e123”)’
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
“\e123”