e$B$1$$$8$e!w$$$7$D$+$G$9e(B.
In [ruby-dev :37203 ] the message: "[ruby-dev:37203] Re: m17n of irb
", on Nov/26 20:40(JST) “Yugui (Yuki S.)” writes:
irbe$B$,$"$k<o$Ne(BRubye$B=hM}7O$@$+$iH/@8$9$kLdBj$G$"$C$F$"$^$j0lHLE*$G$O$J$$$He(B
e$B;W$C$F$$$^$7$?!#$"$^$j0lHLE*$JLdBj$G$"$C$F$OM_$7$/$J$$$s$G$9$1$I$M!<!#e(B
irbe$B$H$+$N>l9ge(B,
encodinge$B$r;XDj$7$?$$$N$Oe(Birbe$B$N%f!<%6!<$G$9$+$ie(B.
e$B:#$N$^$^e(B
e$B$@$He(B ruby e$B%l%Y%k$G$O2r7h$G$-$J$$$G$9$h$Me(B…
irbe$B$N$h$&$JIT2DG=%l%Y%k$N%1!<%9$Oe(B,
e$BIQH/$9$k$b$N$G$b$J$$$G$9$,e(B,
default_encodinge$B$N287C$r<u$1$i$l$J$$>l9g$Oe(B,
e$B$+$J$j0lHLE*$J$b$N$K$Je(B
e$B$k$H;W$$$^$9e(B. e$B$H$$$&$N$be(B, defaultencodig e$B$Oe(B
e$B4D6-JQ?t$+e(Brubye$B$X$N%*%We(B
e$B%7%g%s$G$N;XDj$7$+$J$$$N$Ge(B, linuxe$BEy$N%3%^%s%I$H$7$?>l9ge(B,
default**_encoding e$B$N;XDj$Oe(B,
e$B4D6-JQ?t$G$7$+=PMh$J$$$3$H$K$J$j$^$9e(B. e$B$3e(B
e$B$l$C$Fe(B, e$B$+$J$j$NITJX$@$H;W$&$N$G$9$,e(B?
e$B4{$Ke(Bdefault_internal, default_externale$B$G3+$+$l$?%j%=!<%9$,B8:_$9$k2De(B
e$BG=@-$,$"$k$H;W$$$^$9!#e(B
e$B>/$J$/$H$be(B, std{in,out,err}e$B$O3+$$$F$$$^$9$+$i$M$'e(B…
e$B$G$9$+$i!“JQ99$9$k$J$i$P$=$N%j%=!<%9$KBP$7$F@UG$$rIi$&I,MW$,$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(B
e$B%G%6%$%sE*$K$"$jF@$k$N$+$I$&$+$^$D$b$H$5$s$K;G$$$?$$$G$9!#e(B
e$B;d$O7k9=8=>u$KG<F@$7$F$^$9!#e(B
e$B$&!<$se(B. e$BBg:n$"$j$,$H$&$4$6$$$^$9e(B. e$B$?$@e(B,
e$B$3$N$h$&$JJ}K!$8$c$J$/:Q$`$h$&e(B
e$B$K5’$C$F$$$^$9$,e(B(^^;;
__
---------------------------------------------------->> e$B@PDMe(B
e$B7=<ye(B <<—
---------------------------------->> e-mail: [email protected] <<—