NKF変換の文字列末尾

e$B$H$_$?$G$9!#e(B

Ruby 1.8.5 e$B$Ne(B NKF e$B$,!"J8;zNs$NKvHx$Ke(B ESC ( B
e$B$r$D$1$F$/$l$^$;$s!#e(B

$ ruby -v -rnkf -e p NKF.nkf("-j", e$B$$$$&e(B")
ruby 1.8.5 (2006-08-25) [i686-linux]
\e$B$$$$&"

1.8.4 [email protected]>o$G$7$?!#e(B
$ ruby -v -rnkf -e p NKF.nkf("-j", e$B$$$$&e(B")
ruby 1.8.4 (2005-12-24) [i486-linux]
\e$B$$$$&\e(B"

Ruby e$B$H$$$&$h$j%*%j%8%J%k$Ne(B NKF [email protected]$H$O;W$$$^$9$,!D!#e(B

$ nkf --version
Network Kanji Filter Version 2.0.7 (2006-06-13)
Copyright 1987, FUJITSU LTD. (I.Ichikawa),2000 S. Kono, COW
Copyright 2002-2006 Kono, Furukawa, Naruse, mastodon
$ echo -n "e$B$e(B | nkf | od -tc
0000000 033 $ B $ "
0000005

$ nkf --version
Network Kanji Filter Version 2.0 (4/0401/Shinji Kono)
Copyright 1987, FUJITSU LTD. (I.Ichikawa),2000 S. Kono, COW,
2002-2004 Kono, Furukawa
$ echo -n "e$B$e(B | nkf | od -tc
0000000 033 $ B $ " 033 ( B
0000010

[email protected]@%$G$9!#e(B

e$B$H$_$?$^$5$R$me(B wrote:

Ruby 1.8.5 e$B$Ne(B NKF e$B$,!"J8;zNs$NKvHx$Ke(B ESC ( B e$B$r$D$1$F$/$l$^$;$s!#e(B

$ ruby -v -rnkf -e p NKF.nkf("-j", e$B$$$$&e(B")
ruby 1.8.5 (2006-08-25) [i686-linux]
\e$B$$$$&"

e$B$9$_$^$;$s!"$4;XE&$NDL$j%*%j%8%J%ke(BNKFe$B$NLdBj$G$9!#e(B
nkf.c rev: 1.110 [email protected]$5$l$?$N$G!"e(B
Ruby 1.8.6 [email protected]$5$l$k$G$7$g$&!#e(B

e$BBP>INEK!$H$7$F$O!0J2<$K$$ke(B nkf.c config.h utf8tbl.c e$B$r!"e(B
/ext/nkf/nkf-utf8/ e$B2<$N$b$N$K>e=q$-$9$l$P$h$$$G$9!#e(B
http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/nkf/nkf-2/nkf-utf8/

e$B$H$_$?$G$9!#e(B

On Thu, 23 Nov 2006 17:08:00 +0900
NARUSE, Yui [email protected] wrote:

Ruby 1.8.5 e$B$Ne(B NKF e$B$,!"J8;zNs$NKvHx$Ke(B ESC ( B e$B$r$D$1$F$/$l$^$;$s!#e(B

$ ruby -v -rnkf -e p NKF.nkf("-j", e$B$$$$&e(B")
ruby 1.8.5 (2006-08-25) [i686-linux]
\e$B$$$$&"

e$B$9$_$^$;$s!"$4;XE&$NDL$j%*%j%8%J%ke(BNKFe$B$NLdBj$G$9!#e(B
nkf.c rev: 1.110 [email protected]$5$l$?$N$G!"e(B
Ruby 1.8.6 [email protected]$5$l$k$G$7$g$&!#e(B

e$BBP>INEK!$H$7$F$O!0J2<$K$$ke(B nkf.c config.h utf8tbl.c e$B$r!"e(B
/ext/nkf/nkf-utf8/ e$B2<$N$b$N$K>e=q$-$9$l$P$h$$$G$9!#e(B
http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/nkf/nkf-2/nkf-utf8/

e$B$"$j$,$H$&$4$6$$$^$9!#%*%j%8%J%k$Ne(B NKF
[email protected]:Q$_$G$7$?$+!#$=e(B
e$B$3$^$G$OD4$Y$F$^$;$s$G$7$?!#e(B

e$B$5$C$-$O5$$E$+$J$+$C$?$s$G$9$1$I!"%=!<%[email protected]=j$r8+$F$$?$i!"F~NO$,e(B
UTF-8 e$B$N;[email protected]$1$KH/@8$9$kLdBj$
$?$$$G$9$M!#e(B

$ ruby -v -rnkf -e p NKF.nkf("-Sj", NKF.nkf("-s", e$B$$$$&e(B"))
ruby 1.8.5 (2006-08-25) [i686-linux]
\e$B$$$$&\e(B"

e$B$N$h$&$K$7$F$b2sHr2DG=$_$?$$$J$N$G!"$=$l$G$b$$$$$+$J$!$H;W$C$F$^$9!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs