When to use default_internal


#1

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

default_internale$B$r;XDj$7$?>uBV$G!"e(B:internal_encoding =>
nile$B$r;XDj$7$Fe(B
e$B%U%!%$%k$r3+$/$H!"e(Binternal_encodinge$B$Ke(Bdefault_internale$B$,3d$jEv$F$i$l$F$$e(B
e$B$^$9!#e(B

e$B;d$H$7$F$Oe(B:internal_encoding =>
nile$B$GL5JQ49$r4|BT$7$F$$$?$N$G$9$,!"$3$&e(B
e$B$$$&$b$N$G$7$?$C$1e(B?

e$B$^$?!“e(Bdefault_internale$B$r;XDj$7$?>uBV$G30It%(%s%3!<%G%#%s%0$N$^$^%P%$%H%9e(B
e$B%H%j!<%$rFI$_9~$@5Ev$JJ}K!$O$”$j$^$9$+e(B?e$B!!e(B(internale$B$He(Bexternale$B$K4:$($FF1e(B
e$B$8%(%s%3!<%G%#%s%0$rEO$9$H7Y9p$,=P$^$9e(B)


#2

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:37496] when to use default_internal”
on Thu, 18 Dec 2008 20:53:14 +0900, “Yugui (Yuki S.)”
removed_email_address@domain.invalid writes:

|default_internale$B$r;XDj$7$?>uBV$G!"e(B:internal_encoding => nile$B$r;XDj$7$Fe(B
|e$B%U%!%$%k$r3+$/$H!“e(Binternal_encodinge$B$Ke(Bdefault_internale$B$,3d$jEv$F$i$l$F$$e(B
|e$B$^$9!#e(B
|
|e$B;d$H$7$F$Oe(B:internal_encoding => nile$B$GL5JQ49$r4|BT$7$F$$$?$N$G$9$,!”$3$&e(B
|e$B$$$&$b$N$G$7$?$C$1e(B?

e$B$($(!#8=>u$G$Oe(Bnile$B$O!VL5;XDj$HF1$8!W$H$$$&F0:n$G$9!#L5JQ49$Ne(B
e$B$?$a$K$OJ8;zNse(B “-” e$B$r;XDj$7$^$9!#e(B

|e$B$^$?!“e(Bdefault_internale$B$r;XDj$7$?>uBV$G30It%(%s%3!<%G%#%s%0$N$^$^%P%$%H%9e(B
|e$B%H%j!<%$rFI$_9~$@5Ev$JJ}K!$O$”$j$^$9$+e(B?e$B!!e(B(internale$B$He(Bexternale$B$K4:$($FF1e(B
|e$B$8%(%s%3!<%G%#%s%0$rEO$9$H7Y9p$,=P$^$9e(B)

e$B>e5-$NDL$j!"e(Binternal_encodinge$B$Ke(B “-”
e$B$r;XDj$7$^$9!#e(Bnile$B$N;XDje(B
e$B$r5v$7$?J}$,$o$+$j$d$9$$$G$7$g$&$+!#e(B

e$B$"$H!“8=>ue(Binternal_encodinge$BC1BN;XDj$r5v$5$J$$$h$&$K$7$F$$$^$9e(B
e$B$,!”$3$l$O!Ve(Bexternal_encodinge$B$,%G%U%)%k%H$G!"e(Binternale$B$O$J$7e(B
(e$BL5JQ49e(B)e$B!W$H$$$&;XDj$,$G$-$J$$$N$GD>$7$?J}$,$h$5$=$&$G$9$M!#e(B

                            e$B$^$D$b$He(B e$B$f$-$R$me(B /:|)

#3

On 12/19/08 12:20 AM, Yukihiro M. wrote:

e$B>e5-$NDL$j!"e(Binternal_encodinge$B$Ke(B “-” e$B$r;XDj$7$^$9!#e(Bnile$B$N;XDje(B
e$B$r5v$7$?J}$,$o$+$j$d$9$$$G$7$g$&$+!#e(B

e$B%I%-%e%a%s%H$K=q$$$F$"$l$P!"$=$l$J$j$KG<F@$N$$$/F0:n$@$H;W$$$^$9!#e(B
e$B:#?7$7$$%O%C%7%e7A<0$Ne(Bmodee$B;XDj$Oe(Brdoce$B$K=q$+$l$F$$$J$$$N$G!"$3$l$O$"$H$G=qe(B
e$B$$$F$*$-$^$9!#e(B


#4

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:37499] Re: when to use default_internal”
on Fri, 19 Dec 2008 09:01:45 +0900, “Yugui (Yuki S.)”
removed_email_address@domain.invalid writes:

|On 12/19/08 12:20 AM, Yukihiro M. wrote:
|> e$B>e5-$NDL$j!“e(Binternal_encodinge$B$Ke(B “-” e$B$r;XDj$7$^$9!#e(Bnile$B$N;XDje(B
|> e$B$r5v$7$?J}$,$o$+$j$d$9$$$G$7$g$&$+!#e(B
|
|e$B%I%-%e%a%s%H$K=q$$$F$”$l$P!"$=$l$J$j$KG<F@$N$$$/F0:n$@$H;W$$$^$9!#e(B
|e$B:#?7$7$$%O%C%7%e7A<0$Ne(Bmodee$B;XDj$Oe(Brdoce$B$K=q$+$l$F$$$J$$$N$G!"$3$l$O$"$H$G=qe(B
|e$B$$$F$*$-$^$9!#e(B

Yuguie$B$5$s$,40c$$$r$7$F!";d$b$9$0$K$O$o$+$i$J$+$C$?$H$$$&$3e(B
e$B$H$O:#8e4V0c$($k?M$,$?$/$5$s=P$=$&$G$9$+$i!Ve(Bnile$B$OL5JQ49!W$He(B
e$B$$$&%Q%C%A$r=q$$$F%3%_%C%H$7$F$
$-$^$7$?!#e(B

e$B$=$NB>!"e(B

  • external_encoding, internal_encodinge$B$He(Bencodinge$B$,F1;~$K;Xe(B
    e$BDj$5$l$?>l9g$K$O!"e(Bexternal_encodinge$B$J$I$NJ}$,M%@he(B

external_encodinge$B$Ke(Bnile$B$r;XDj$9$k$He(Bdefault_externale$B$N0UL#!#e(B
internal_encodinge$B$Ke(Bnile$B$r;XDj$9$k$HL5JQ49$N0UL#!#e(B

  • external_encodinge$B$He(Binternal_encodinge$B$KF1$8$b$N$r;XDj$7$?e(B
    e$B>l9g$K$O!"L5JQ49$N0UL#e(B(e$B7Y9p$J$7e(B)

e$B$H$$$&$3$H$rE0Dl$7$^$7$?!#e(B

e$B$3$l$r=q$-$J$,$i;W$C$?$N$G$9$,!“e(BIO#internal_encodinge$B$O8=:_L5e(B
e$BJQ49$N>l9ge(Bnile$B$rJV$7$F$^$9$,!”$3$l$OF~NO$N7k2LF@$i$l$kJ8;zNs$Ne(B
e$B%(%s%3!<%G%#%s%0$r$$$D$bJV$7$?J}$,;H$$>!<j$,NI$$$+$b$7$l$^$;e(B
e$B$s!#$3$A$i$N%Q%C%A$Oe(B1e$B9T$J$N$G$9$,!"%F%9%H$,$+$J$j<:GT$9$k$h$&e(B
e$B$K$J$k$?$a!“F3F~A0$K5DO@$7$F$*$-$?$$$H;W$$$^$9!#8=>u$G$”$^$je(B
e$B:$$i$J$$$H$$$&$3$H$J$i$P!“L5M}$KJQ$($k$3$H$O$”$j$^$;$s$7!#e(B

                            e$B$^$D$b$He(B e$B$f$-$R$me(B /:|)