e$B=uED$G$9!#e(B
e$B<!$N7k2L$ON>J}$H$be(BUTF-8e$B$K$J$C$F$[$7$$$G$9!#e(B
$ ruby -v
ruby 1.9.0 (2008-02-16 revision 15495) [i686-linux]
$ cat encd.rb
puts Encoding.default_external
$ ruby -Eutf-8 -r./encd.rb -e ‘’
ASCII-8BIT # UTF-8e$B$K$J$i$J$$!#e(B
$ ruby -Eutf-8 encd.rb
UTF-8
e$B=uEDe(B e$B2m5*e(B
e$B@.@%$G$9!#e(B
Masaki S. wrote:
$ ruby -Eutf-8 encd.rb
UTF-8
e$B$"!<!"$J$k$[$I!"e(Bdefault_internal e$B$r%;%C%H$9$kA0$Ke(B library
e$B$re(B require e$B$7e(B
e$B$A$c$C$F$k$s$G$9$M!#e(Br15496 e$B$GD>$7$^$7$?!#e(B
e$B=uED$G$9!#e(B
NARUSE, Yui wrote:
e$B$"!<!"$J$k$[$I!"e(Bdefault_internal e$B$r%;%C%H$9$kA0$Ke(B library e$B$re(B require e$B$7e(B
e$B$A$c$C$F$k$s$G$9$M!#e(Br15496 e$B$GD>$7$^$7$?!#e(B
e$BAGAa$$$G$9$M!#$"$j$,$H$&$4$6$$$^$7$?!#e(B
e$B=uEDe(B e$B2m5*e(B