The encoding alias named internal when Encoding.default_internal is nil


#1

Yuguie$B$G$9!#e(B

default_internale$B$,;XDj$5$l$F$$$J$$>l9g$K$O%(%$%j%"%9e(Binternale$B$ODj5A$5$l$Je(B
e$B$$$h$&$G$9$,!"$3$l$O;EMM$G$7$g$&$+!#e(B
e$B$^$?!"0lJ}$Ge(BEncoding.aliasese$B$Oe(Binternale$B$r>o$K4^$`$h$&$G$9!#e(B

test_enc_names(TestEncoding):
ArgumentError: unknown encoding name - internal
/Users/yugui/src/ruby/mri/test/ruby/test_encoding.rb:21:in find' /Users/yugui/src/ruby/mri/test/ruby/test_encoding.rb:21:inblock in
test_enc_names’
/Users/yugui/src/ruby/mri/test/ruby/test_encoding.rb:20:in each' /Users/yugui/src/ruby/mri/test/ruby/test_encoding.rb:20:intest_enc_names’


#2

e$B$J$+$@$G$9!#e(B

At Thu, 30 Oct 2008 23:09:27 +0900,
Yugui (Yuki S.) wrote in [ruby-dev:37000]:

default_internale$B$,;XDj$5$l$F$$$J$$>l9g$K$O%(%$%j%"%9e(Binternale$B$ODj5A$5$l$Je(B
e$B$$$h$&$G$9$,!"$3$l$O;EMM$G$7$g$&$+!#e(B

e$BDj5A$5$l$J$$$H$$$&$N$H$O$A$g$C$H0c$C$F$$$F!"L58z$H$$$&$+B8:$7$Je(B
e$B$$e(Bencodinge$B$H$7$FDj5A$5$l$F$$$^$9!#e(Bdefault_internale$B$,;XDj$5$l$F$$e(B
e$B$J$$>l9g$K$O$?$7$+$KB8:
$7$J$$$o$1$G$9!#$3$&$$$&>l9g$O2?$rJV$9$Ne(B
e$B$,$$$$$s$G$7$g$&$M!#e(B

e$B$^$?!"0lJ}$Ge(BEncoding.aliasese$B$Oe(Binternale$B$r>o$K4^$`$h$&$G$9!#e(B

Encoding::INTERNALe$B$be(BEncoding.default_internale$B$b>o$Ke(Bnile$B$G$9!#e(B