Summary of script encoding

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

script encodinge$B$N$^$H$a$G$9!#e(B
r15226e$B$N;[email protected]$G!"0J2<$N;EMM$,A4$FH?1G$5$l$F$$$k$D$b$j$G$9!#e(B

e$B$=$&$8$c$J$+$C$?$i%P%0e(B

[email protected][email protected]$15$$K$J$C$F$$$k$3$H$,$"$C$F!“e(B-ee$B$Oe(B–encodinge$B$K$h$i$:e(B
localee$B$H$9$kJ}$,eJXMx$J$N$G$O$J$$$+$H;W$C$?$j$7$^$9!#e(B
e$B$H$j$”$($:LdBjDs5/[email protected]$1$9$,!#e(B

e$BDL>o$N%9%/%j%W%H$N>l9ge(B | script encoding | default external
|
------------------------------±----------------±-----------------+
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | ASCII-8BIT |
locale |
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment |
locale |
-Ee$B$”$j!“e(Bmagic commente$B$J$7e(B | ASCII-8BIT | -E
|
-Ee$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -E
|
-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K
|
-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K
|

-ee$B$*$h$Se(Bstdine$B$N>l9ge(B | script encoding | default
external |
------------------------------±----------------±-----------------+
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | locale |
locale |
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment |
locale |
-Ee$B$”$j!“e(Bmagic commente$B$J$7e(B | -E | -E
|
-Ee$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -E
|
-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K
|
-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K
|

e$B$=$l$G$O!#e(B

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

At Fri, 25 Jan 2008 13:24:34 +0900,
U.Nakamura wrote in [ruby-dev:33368]:

script encodinge$B$N$^$H$a$G$9!#e(B
r15226e$B$N;[email protected]$G!"0J2<$N;EMM$,A4$FH?1G$5$l$F$$$k$D$b$j$G$9!#e(B

e$B$=$&$8$c$J$+$C$?$i%P%0e(B

[email protected][email protected]$15$$K$J$C$F$$$k$3$H$,$"$C$F!“e(B-ee$B$Oe(B–encodinge$B$K$h$i$:e(B
localee$B$H$9$kJ}$,eJXMx$J$N$G$O$J$$$+$H;W$C$?$j$7$^$9!#e(B
e$B$H$j$”$($:LdBjDs5/[email protected]$1$9$,!#e(B

-Eutf-16be
e$B$J$I$H$9$k$He(B-ee$B$N0z?tA4BN$,0l$D$N<1JL;R$H$_$J$5$l$F$7e(B
e$B$^$C$?$j$7$F$$$?$N$G!“e(BASCII-compatiblee$B$G$J$$$b$N$de(B-ee$B$KHse(BASCIIe$BJ8e(B
e$B;z$,$”$k>l9g$Oe(Blocalee$B$N$^$^$K$J$k$h$&$K$7$F$*$-$^$7$?!#e(B

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

In message “Re: [ruby-dev:33368] summary of script encoding”
on Fri, 25 Jan 2008 13:24:34 +0900, “U.Nakamura”
[email protected] writes:

|script encodinge$B$N$^$H$a$G$9!#e(B
|r15226e$B$N;[email protected]$G!"0J2<$N;EMM$,A4$FH?1G$5$l$F$$$k$D$b$j$G$9!#e(B
|# e$B$=$&$8$c$J$+$C$?$i%P%0e(B

e$B$^[email protected]$$$F$"$j$,$H$&$4$6$$$^$9!#e(B

|e$BDL>o$N%9%/%j%W%H$N>l9ge(B | script encoding | default external |
|------------------------------±----------------±-----------------+
|-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | ASCII-8BIT() | locale |
|-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment | locale |
|-Ee$B$"$j!"e(Bmagic commente$B$J$7e(B | ASCII-8BIT(
) | -E |
|-Ee$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -E |
|-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K |
|-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K |

(*) e$B$3$3$Oe(BUS-ASCIIe$B$NJ}$,NI$$$N$G$O$J$$$+$H;W$$$^$9!#%(%s%3!<e(B
e$B%G%#%s%04V0c$$$N8!=P$K$bLrN)$A$^$9$7!#e(BUS-ASCIIe$B$K$7$FITJXe(B
e$B$J$3$H$C$F$"$j$^$7$?$C$1!#$$$d!"$b$A$m$se(Bmagic commente$B$,e(B
e$B6/@)$5$l$k$3$H0J30$K!"$H$$$&0UL#$G$9$,!#e(B

|-ee$B$$h$Se(Bstdine$B$N>l9ge(B | script encoding | default external |
|------------------------------±----------------±-----------------+
|-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | locale | locale |
|-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment | locale |
|-Ee$B$”$j!"e(Bmagic commente$B$J$7e(B | -E(
) | -E |
|-Ee$B$"$j!“e(Bmagic commente$B$”$je(B | magic comment | -E |
|-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K |
|-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K |

|[email protected][email protected]$15$$K$J$C$F$$$k$3$H$,$"$C$F!“e(B-ee$B$Oe(B–encodinge$B$K$h$i$:e(B
|localee$B$H$9$kJ}$,eJXMx$J$N$G$O$J$$$+$H;W$C$?$j$7$^$9!#e(B
|e$B$H$j$”$($:LdBjDs5/[email protected]$1$9$,!#e(B

(*)
e$B$9$G$K;XE&$,$"$j$^$9$,!"$3$A$i$Oe(B-Ee$B$G$O$J$/e(Blocalee$B$,$h$5$=e(B
e$B$&$K;W$$$^$9!#e(B-Ee$B$Oe(Bdefault_externale$B$N;XDj$N$_$K8BDj$7$^$7$ge(B
e$B$&!#e(B

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

In message “Re: [ruby-dev:33376] Re: summary of script encoding”
on Fri, 25 Jan 2008 21:28:56 +0900, “U.Nakamura”
[email protected] writes:

|| |-Ke$B!&e(B-Ee$B$J$7!"e(Bmagic commente$B$J$7e(B | ASCII-8BIT() | locale |
|| |-Ee$B$"$j!"e(Bmagic commente$B$J$7e(B | ASCII-8BIT(
) | -E |

|| () e$B$3$3$Oe(BUS-ASCIIe$B$NJ}$,NI$$$N$G$O$J$$$+$H;W$$$^$9!#%(%s%3!<e(B
|| e$B%G%#%s%04V0c$$$N8!=P$K$bLrN)$A$^$9$7!#e(BUS-ASCIIe$B$K$7$FITJXe(B
|| e$B$J$3$H$C$F$"$j$^$7$?$C$1!#$$$d!"$b$A$m$se(Bmagic commente$B$,e(B
|| e$B6/@)$5$l$k$3$H0J30$K!"$H$$$&0UL#$G$9$,!#e(B
|
|e$B%(%9%1!<%W%7!<%1%s%9$Ge(B8bite$B$J%P%$%H$,F~$C$?$ie(BASCII-8BITe$B$K<+F0e(B
|e$B>:3Je(B(e$B9_3Je(B?)e$B$9$k$h$&$K$J$j$^$7$?$7!“e(BUS-ASCIIe$B$G$$$$$N$+$J!”$H$$e(B
|e$B$&5$$b$7$^$9$M!#e(B
|8bite$B%j%F%i%k$K4X$7$F$O$b$H$b$He(B-Ke$B%
%W%7%g%s$,I,[email protected]$C$?$N$G!“e(B
|[email protected]$bLdBj$J$$!”$N$+$J!#e(B

e$B$=$&;W$$$^$9!#8+Mn$H$7$K5$$,$D$$$??M$O65$($F$/[email protected]$5$$!#e(B

|| |-Ee$B$"$j!"e(Bmagic commente$B$J$7e(B | -E(*) | -E |

|| (*) e$B$9$G$K;XE&$,$"$j$^$9$,!"$3$A$i$Oe(B-Ee$B$G$O$J$/e(Blocalee$B$,$h$5$=e(B
|| e$B$&$K;W$$$^$9!#e(B-Ee$B$Oe(Bdefault_externale$B$N;XDj$N$_$K8BDj$7$^$7$ge(B
|| e$B$&!#e(B
|
|[email protected]$5$s$,e(B[ruby-dev:33374]e$B$N$h$&$JBP1~$r$H$j$"e(B
|e$B$($:F~$l$F2<$5$C$F$$$^$9$,!"e(B-ee$B!&e(Bstdine$B$K4X$o$i$:e(Blocalee$B$K$9$k$Ne(B
|e$B$,$$$$$G$9$+e(B?

e$B$=$&;W$$$^$9!#e(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:33375] Re: summary of script encoding”
on Jan.25,2008 21:11:01, [email protected] wrote:
| |e$BDL>o$N%9%/%j%W%H$N>l9ge(B | script encoding | default external |
| |------------------------------±----------------±-----------------+
| |-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | ASCII-8BIT() | locale |
| |-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment | locale |
| |-Ee$B$"$j!"e(Bmagic commente$B$J$7e(B | ASCII-8BIT(
) | -E |
| |-Ee$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -E |
| |-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K |
| |-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K |
|
| (*) e$B$3$3$Oe(BUS-ASCIIe$B$NJ}$,NI$$$N$G$O$J$$$+$H;W$$$^$9!#%(%s%3!<e(B
| e$B%G%#%s%04V0c$$$N8!=P$K$bLrN)$A$^$9$7!#e(BUS-ASCIIe$B$K$7$FITJXe(B
| e$B$J$3$H$C$F$"$j$^$7$?$C$1!#$$$d!"$b$A$m$se(Bmagic commente$B$,e(B
| e$B6/@)$5$l$k$3$H0J30$K!"$H$$$&0UL#$G$9$,!#e(B

e$B%(%9%1!<%W%7!<%1%s%9$Ge(B8bite$B$J%P%$%H$,F~$C$?$ie(BASCII-8BITe$B$K<+F0e(B
e$B>:3Je(B(e$B9_3Je(B?)e$B$9$k$h$&$K$J$j$^$7$?$7!“e(BUS-ASCIIe$B$G$$$$$N$+$J!”$H$$e(B
e$B$&5$$b$7$^$9$M!#e(B
8bite$B%j%F%i%k$K4X$7$F$O$b$H$b$He(B-Ke$B%*%W%7%g%s$,I,[email protected]$C$?$N$G!“e(B
[email protected]$bLdBj$J$$!”$N$+$J!#e(B

| |-ee$B$$h$Se(Bstdine$B$N>l9ge(B | script encoding | default external |
| |------------------------------±----------------±-----------------+
| |-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | locale | locale |
| |-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment | locale |
| |-Ee$B$”$j!"e(Bmagic commente$B$J$7e(B | -E(
) | -E |
| |-Ee$B$"$j!“e(Bmagic commente$B$”$je(B | magic comment | -E |
| |-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K |
| |-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K |
|
| |[email protected][email protected]$15$$K$J$C$F$$$k$3$H$,$"$C$F!“e(B-ee$B$Oe(B–encodinge$B$K$h$i$:e(B
| |localee$B$H$9$kJ}$,eJXMx$J$N$G$O$J$$$+$H;W$C$?$j$7$^$9!#e(B
| |e$B$H$j$”$($:LdBjDs5/[email protected]$1$9$,!#e(B
|
| (*) e$B$9$G$K;XE&$,$"$j$^$9$,!"$3$A$i$Oe(B-Ee$B$G$O$J$/e(Blocalee$B$,$h$5$=e(B
| e$B$&$K;W$$$^$9!#e(B-Ee$B$Oe(Bdefault_externale$B$N;XDj$N$_$K8BDj$7$^$7$ge(B
| e$B$&!#e(B

[email protected]$5$s$,e(B[ruby-dev:33374]e$B$N$h$&$JBP1~$r$H$j$"e(B
e$B$($:F~$l$F2<$5$C$F$$$^$9$,!"e(B-ee$B!&e(Bstdine$B$K4X$o$i$:e(Blocalee$B$K$9$k$Ne(B
e$B$,$$$$$G$9$+e(B?

e$B$=$l$G$O!#e(B

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: “U.Nakamura” [email protected]
Subject: [ruby-dev:33376] Re: summary of script encoding
Date: Fri, 25 Jan 2008 21:28:56 +0900
Message-ID: [email protected]

8bite$B%j%F%i%k$K4X$7$F$O$b$H$b$He(B-Ke$B%*%W%7%g%s$,I,[email protected]$C$?$N$G!“e(B
[email protected]$bLdBj$J$$!”$N$+$J!#e(B

e$BMH$2B-<h$j$_$?$$$G$9$,!%!%!%e(B
euc-jp e$B$N>l9g!$e(B-K
e$B%%W%7%g%s$J$7$G$b%9%/%j%W%HFI9~$K$OLdBj$J$$$?$a!$e(B
-K e$B%
%W%7%g%s$J$7$Ge(B $KCODE e$B$N$_e(B (e$B$"$k$$$Oe(B $KCODE
e$B;XDj$9$i$J$7e(B)
e$B$H$$$&%1!<%9$b$"$j$^$9$Me(B

From: Hidetoshi NAGAI removed_email_ad[email protected]
Subject: [ruby-dev:33383] Re: summary of script encoding
Date: Sat, 26 Jan 2008 02:43:17 +0900

8bite$B%j%F%i%k$K4X$7$F$O$b$H$b$He(B-Ke$B%*%W%7%g%s$,I,[email protected]$C$?$N$G!“e(B
[email protected]$bLdBj$J$$!”$N$+$J!#e(B

e$BMH$2B-<h$j$_$?$$$G$9$,!%!%!%e(B
euc-jp e$B$N>l9g!$e(B-K e$B%%W%7%g%s$J$7$G$b%9%/%j%W%HFI9~$K$OLdBj$J$$$?$a!$e(B
-K e$B%
%W%7%g%s$J$7$Ge(B $KCODE e$B$N$_e(B (e$B$"$k$$$Oe(B $KCODE e$B;XDj$9$i$J$7e(B)
e$B$H$$$&%1!<%9$b$"$j$^$9$Me(B

Ruby 1.9e$B$G$Oe(B$KCODEe$B$OGQ;_$5$l$^$7$?!#e(B

RUBY_VERSION # => “1.9.0”
$KCODE = ‘e’ # !> variable $KCODE is no longer effective; ignored
$KCODE # => nil # !> variable $KCODE is no longer effective

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:33383] Re: summary of script encoding”
on Jan.26,2008 02:43:17, [email protected] wrote:
| > 8bite$B%j%F%i%k$K4X$7$F$O$b$H$b$He(B-Ke$B%%W%7%g%s$,I,[email protected]$C$?$N$G!“e(B
| > [email protected]$bLdBj$J$$!”$N$+$J!#e(B
|
| e$BMH$2B-<h$j$_$?$$$G$9$,!%!%!%e(B
| euc-jp e$B$N>l9g!$e(B-K e$B%
%W%7%g%s$J$7$G$b%9%/%j%W%HFI9~$K$OLdBj$J$$$?$a!$e(B
| -K e$B%*%W%7%g%s$J$7$Ge(B $KCODE e$B$N$_e(B (e$B$"$k$$$Oe(B $KCODE e$B;XDj$9$i$J$7e(B)
| e$B$H$$$&%1!<%9$b$"$j$^$9$Me(B

e$B$=$s$J6vA3$KMj$C$?%9%/%j%W%H$O$3$N5!2q$K%P%s%P%s%(%i!<$r=P$7e(B
e$B$F$$$B$a$F$d$C$F$+$^$o$J$$$H;W$$$^$9e(B :slight_smile:

e$B$=$l$G$O!#e(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

e$B$H$$$&$o$1$G!"$^$D$b$H$5$s$N0U8+$rF’$^$($F!“0J2<$N;EMM$G<BAue(B
e$B$KH?1G$7$^$7$?!#e(B
e$B$”$H!"=q$-K:$l$F$^$7$?$,!“e(B[ruby-dev:33156]e$B$G;XE&$5$l$F$$$?e(B-K
e$B$N%i%$%V%i%j$X$NEAGE$b!”[email protected]$5$s$,e(Br15231e$B$GBP1~:Q$_$G$9!#e(B

US-ASCIIe$B$8$c$^$:$$$s$8$c$J$$$+!"$H$$$&7o$O!"$I$l$/$i$$$N?M$,e(B
e$B!V$.$c$C!W$H$$$&$+8+$F$$?J}$,$$$$5$$b$9$k$N$G!"e(B1.9.0-1e$B%j%j!<e(B
e$B%9$KF~$l$F$
$k$N$,$$$$$s$8$c$J$$$+$H;W$$$^$9!#e(B

1.9.0-1e$B$C$F$=$&1s$/$J$$L$Mh$K=P$k$s$G$9$h$Me(B?

e$BDL>o$N%9%/%j%W%H$N>l9ge(B | script encoding | default external
|
------------------------------±----------------±-----------------+
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | US-ASCII |
locale |
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment |
locale |
-Ee$B$”$j!“e(Bmagic commente$B$J$7e(B | US-ASCII | -E
|
-Ee$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -E
|
-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K
|
-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K
|

-ee$B$*$h$Se(Bstdine$B$N>l9ge(B | script encoding | default
external |
------------------------------±----------------±-----------------+
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$J$7e(B | locale |
locale |
-Ke$B!&e(B-Ee$B$J$7!“e(Bmagic commente$B$”$je(B | magic comment |
locale |
-Ee$B$”$j!“e(Bmagic commente$B$J$7e(B | locale | -E
|
-Ee$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -E
|
-Ke$B$"$j!“e(Bmagic commente$B$J$7e(B | -K | -K
|
-Ke$B$”$j!“e(Bmagic commente$B$”$je(B | magic comment | -K
|

1.8e$B$+$i$Ne(Bscript encodinge$B$K4X$9$kHs8_49$^$H$ae(B

-Ke$B$,$J$$>l9g!"e(B1.8e$B$G$Oe(B1.9e$B$Ne([email protected]$C$?$,!"e(B1.9
e$B$G$Oe(BUS-ASCIIe$B$H$7$F07$o$l$k!#e(B
e$B$h$C$F!"e(B-Ke$B$J$7$G%j%F%i%kCf$KB>%P%$%HJ8;z$,4^$^$l$F$$$k>l9g!"e(B
1.8e$B$G$Oe(Bencodinge$B$H1?$K$h$C$F$OBg>[email protected]$C$?$b$N$,!"e(B1.9e$B$G$OI,e(B
e$B$:%Q!<%9;~$K%(%i!<$,H/@8$9$k$h$&$K$J$k!#e(B

  • magic
    commente$B$,$"$C$?>l9g!"e(B1.8e$B$G$OL5;k$5$l$k$,!"e(B1.9e$B$G$O$=$le(B
    e$B$,e(Bscript encodinge$B$KH?1G$5$l$k!#e(B-Ke$B$h$j$bM%@h!#e(B

e$B>e5-$NI=$K$O$J$$$,!"%3%^%s%I%i%$%s%%W%7%g%s!&e(BRUBYOPTe$B!&e(Bshebang
e$B$N4V$NM%@h=g0L$,e(B1.9e$B$G$OJQ99$5$l$F$$$k!#e(B
e$B$h$C$F!"$=$l$>$l$KL7=b$9$ke(B-Ke$B;XDj$,B8:_$7$?>l9g!"e(B1.8e$B$H$O0[$Je(B
e$B$kM%@h=g0L$Ge(Bscript encodinge$B$,7hDj$5$l$k!#e(B
e$B6qBNE
$K$O0J2<$NDL$je(B(e$B:8$,M%@he(B)
1.8 : shebang > RUBYOPT > e$B%3%^%s%I%i%$%se(B
1.9 : e$B%3%^%s%I%i%$%se(B > RUBYOPT > shebang

e$B$=$l$G$O!#e(B

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

U.Nakamura wrote:

1.9.0-1e$B$C$F$=$&1s$/$J$$L$Mh$K=P$k$s$G$9$h$Me(B?

e$B$+$J$jJQ99$,F~$C$F$$$^$9$7!"%Q%C%A%j%j!<%907$$$G7n$K0lEY$/$i$$=P$7$?J}$,e(B
e$B$$$$$N$G$O$J$$$+$J$!$H$$$&5$$O$7$^$9$M$’!#e(B-Ks
e$B$NF0:n$+$i;O$^$C$F!"%S%k%He(B
e$B%$%s$d$iBP1~%3!<%I$d$i!"!V$=$N5sF0!“e(BHEAD
e$B$G$O$b$&JQ$o$C$?$h!)!W$H$$$&$Ne(B
e$B$,$+$J$j$”$j$^$9$7!#e(B

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

Hidetoshi NAGAI wrote:

euc-jp e$B$N>l9g!$e(B-K e$B%%W%7%g%s$J$7$G$b%9%/%j%W%HFI9~$K$OLdBj$J$$$?$a!$e(B
-K e$B%
%W%7%g%s$J$7$Ge(B $KCODE e$B$N$_e(B (e$B$"$k$$$Oe(B $KCODE e$B;XDj$9$i$J$7e(B)
e$B$H$$$&%1!<%9$b$"$j$^$9$Me(B

e$B$^$:!“e(B-K e$B%*%W%7%g%s$be(B $KCODE
e$B$N;XDj$b$J$$>l9g$O!”<B:]$K9T$C$F$$$k$N$Oe(B
EUC-JP e$BJ8;zNs$N=hM}$G$J$/!"%P%$%HNs$N=hM}$G$9$N$G!“e(B-Kn
e$B$r;XDj$9$l$Pe(B Ruby
1.9 e$B$G$be(B str[]
e$B$”$?$j$rF’$^$J$1$l$PF0$/$G$7$g$&!#F0$+$J$1$l$P%P%0$N2DG=e(B
[email protected]$,9b$$$h$&$K;W$$$^$9!#e(B

$KCODE e$B$r;XDj$7$F$$$k>l9g$Oe(B -Ke
e$B$r;XDj$9$l$P4pK\E*$K$OF0$/$H;W$$$^$9!#e(B$
KCODE e$B$r<+J,$GFI$_$K9T$C$F$$$k%3!<%I$,$"$k>l9g$O<+J,$Ge(B $KCODE
e$B$rDj5A$7$Fe(B
e$B$7$^$($P$$$$$G$7$g$&!#e(B

e$B8+Mn$H$7$"$k$+$J!#e(B

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

In message “Re: [ruby-dev:33391] Re: summary of script encoding”
on Sat, 26 Jan 2008 09:04:46 +0900, “NARUSE, Yui”
[email protected] writes:

|> # 1.9.0-1e$B$C$F$=$&1s$/$J$$L$Mh$K=P$k$s$G$9$h$Me(B?
|
|e$B$+$J$jJQ99$,F~$C$F$$$^$9$7!"%Q%C%A%j%j!<%907$$$G7n$K0lEY$/$i$$=P$7$?J}$,e(B
|e$B$$$$$N$G$O$J$$$+$J$!$H$$$&5$$O$7$^$9$M$’!#e(B-Ks e$B$NF0:n$+$i;O$^$C$F!"%S%k%He(B
|e$B%$%s$d$iBP1~%3!<%I$d$i!"!V$=$N5sF0!“e(BHEAD e$B$G$O$b$&JQ$o$C$?$h!)!W$H$$$&$Ne(B
|e$B$,$+$J$j$”$j$^$9$7!#e(B

e$B$3$N4V!"[email protected]$/$s$HOC$r$7$?$N$G$9$,!"$b$&$A$g$C$H$d$j$?$$$3e(B
e$B$H$,$"$k$N$G:#7nKv$O$A$g$C$HL5M}$H$$$&[email protected]$C$?$N$G!"e(B2e$B7nKv$re(B
e$BL;X$7$^$9!#$=$l$G$$$$!)e(B

Rubye$B$Ne(B15e$B:[email protected]|e(B(2/24)e$B$H$b;W$C$?$N$G$9$,!"$A$g$&$I;d$N=PD%e(B
e$BD>8e$J$N$G!"$9$3$7CY$i$;$Fe(B2e$B7ne(B29e$BF|8a8ee(B3e$B;~e(B(e$BF|K;~4Ve(B)e$B$G$I$&$G$7$ge(B
e$B$&!)e(B

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

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

At Fri, 25 Jan 2008 23:19:23 +0900,
Yukihiro M. wrote in [ruby-dev:33379]:

e$B$=$&;W$$$^$9!#e(B
e$B$3$&$$$&>l9g$O$d$O$je(B "e$B$“e(B” e$B$H=P$F$[$7$$$H;W$&$N$G$9$,!#e(B

$ ruby -Ke -e ‘p “\xa4\xa2”’

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: [email protected]
Subject: [ruby-dev:33384] Re: summary of script encoding
Date: Sat, 26 Jan 2008 02:45:26 +0900
Message-ID: [email protected]

Ruby 1.9e$B$G$Oe(B$KCODEe$B$OGQ;_$5$l$^$7$?!#e(B

e$B$O$$!$>5CN$7$F$$$^$9!%e(B
[email protected]];}$N;Y1g$Ke(B UNDEFINED-8BIT e$B$,e(B
e$B$"$k$H$$$$$+$b$H$$$&OC$r=P$7$F$^$7$?!%e(B

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: “U.Nakamura” [email protected]
Subject: [ruby-dev:33385] Re: summary of script encoding
Date: Sat, 26 Jan 2008 02:56:04 +0900
Message-ID: [email protected]

| e$BMH$2B-<h$j$_$?$$$G$9$,!%!%!%e(B
| euc-jp e$B$N>l9g!$e(B-K e$B%%W%7%g%s$J$7$G$b%9%/%j%W%HFI9~$K$OLdBj$J$$$?$a!$e(B
| -K e$B%
%W%7%g%s$J$7$Ge(B $KCODE e$B$N$_e(B (e$B$"$k$$$Oe(B $KCODE e$B;XDj$9$i$J$7e(B)
| e$B$H$$$&%1!<%9$b$"$j$^$9$Me(B

e$B$=$s$J6vA3$KMj$C$?%9%/%j%W%H$O$3$N5!2q$K%P%s%P%s%(%i!<$r=P$7e(B
e$B$F$$$B$a$F$d$C$F$+$^$o$J$$$H;W$$$^$9e(B :slight_smile:

e$B3N$+$K$=$&$+$b!%e(B(^_^)
e$B5$$K$J$k$N$O!$6vA3$KMj$C$?$o$1$G$O$J$/$Fe(B
e$B$-$A$s$H>5CN$N>e$G$d$C$F$$$k>l9g$G$9$,!$e(B
e$B$=$&$$$&?M$O$-$C$H$&$^$/BP1~$G$-$k$G$7$g$&!%e(B

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B

From: “NARUSE, Yui” [email protected]
Subject: [ruby-dev:33390] Re: summary of script encoding
Date: Sat, 26 Jan 2008 09:01:29 +0900
Message-ID: [email protected]

e$B$^$:!“e(B-K e$B%*%W%7%g%s$be(B $KCODE e$B$N;XDj$b$J$$>l9g$O!”<B:]$K9T$C$F$$$k$N$Oe(B
EUC-JP e$BJ8;zNs$N=hM}$G$J$/!"%P%$%HNs$N=hM}$G$9$N$G!“e(B-Kn e$B$r;XDj$9$l$Pe(B Ruby
1.9 e$B$G$be(B str[] e$B$”$?$j$rF’$^$J$1$l$PF0$/$G$7$g$&!#F0$+$J$1$l$P%P%0$N2DG=e(B
[email protected]$,9b$$$h$&$K;W$$$^$9!#e(B

$KCODE e$B$r;XDj$7$F$$$k>l9g$Oe(B -Ke e$B$r;XDj$9$l$P4pK\E*$K$OF0$/$H;W$$$^$9!#e(B$
KCODE e$B$r<+J,$GFI$_$K9T$C$F$$$k%3!<%I$,$"$k>l9g$O<+J,$Ge(B $KCODE e$B$rDj5A$7$Fe(B
e$B$7$^$($P$$$$$G$7$g$&!#e(B

e$B8+Mn$H$7$"$k$+$J!#e(B

$KCODE e$B$rMxMQ$9$kB>$N%i%$%V%i%j$rMxMQ$7$F$$$J$$8B$j$Oe(B
e$B$?$V$sBg>[email protected]$H;W$$$^$9!%e(B
e$B$G!$$=$N%1!<%9$H$$$&$N$O:#2s$N7o$H$OJL<!85$NOC$G$7$g$&$+$ie(B
e$BLdBj$J$7$H$$$&$3$H$G$9$M!%e(B

e$B$C$F!$0N$=$&[email protected]$($kN)>l$G$O$J$$$G$9$,!%e(B(^_^;

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

Yukihiro M. wrote:

|e$B$,$+$J$j$"$j$^$9$7!#e(B

e$B$3$N4V!"[email protected]$/$s$HOC$r$7$?$N$G$9$,!"$b$&$A$g$C$H$d$j$?$$$3e(B
e$B$H$,$"$k$N$G:#7nKv$O$A$g$C$HL5M}$H$$$&[email protected]$C$?$N$G!"e(B2e$B7nKv$re(B
e$BL;X$7$^$9!#$=$l$G$$$$!)e(B

Rubye$B$Ne(B15e$B:[email protected]|e(B(2/24)e$B$H$b;W$C$?$N$G$9$,!"$A$g$&$I;d$N=PD%e(B
e$BD>8e$J$N$G!"$9$3$7CY$i$;$Fe(B2e$B7ne(B29e$BF|8a8ee(B3e$B;~e(B(e$BF|K;~4Ve(B)e$B$G$I$&$G$7$ge(B
e$B$&!)e(B

e$B$O$$!"$o$+$j$^$7$?!<!#$=$l$^$G$OE,59e(B HEAD
[email protected]$&$3$H$G!#e(B

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

At Sun, 27 Jan 2008 23:38:28 +0900,
Yukihiro M. wrote in [ruby-dev:33421]:

e$B$G$k$s$8$c$J$$$N!)e(B -Ke$B$,;[email protected]$+$i!#e(B
e$B:#$O=P$k$h$&$K$7$F$"$j$^$9!#$7$+$7!"e(B-ee$B$be(Bstdine$B$HF1$8$/>o$Ke(Blocale
e$B$K$J$k$h$&$K$9$k$H!"e(BEUC-JPe$B$N4D6-0J30$G$O=P$J$/$J$k$O$:$G$9!#e(B

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

In message “Re: [ruby-dev:33395] Re: summary of script encoding”
on Sat, 26 Jan 2008 10:49:41 +0900, Nobuyoshi N.
[email protected] writes:

|> |[email protected]$5$s$,e(B[ruby-dev:33374]e$B$N$h$&$JBP1~$r$H$j$"e(B
|> |e$B$($:F~$l$F2<$5$C$F$$$^$9$,!"e(B-ee$B!&e(Bstdine$B$K4X$o$i$:e(Blocalee$B$K$9$k$Ne(B
|> |e$B$,$$$$$G$9$+e(B?
|>
|> e$B$=$&;W$$$^$9!#e(B
|
|e$B$3$&$$$&>l9g$O$d$O$je(B "e$B$“e(B” e$B$H=P$F$[$7$$$H;W$&$N$G$9$,!#e(B
|
| $ ruby -Ke -e ‘p “\xa4\xa2”’

e$B$G$k$s$8$c$J$$$N!)e(B -Ke$B$,;[email protected]$+$i!#e(B

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

In message “Re: [ruby-dev:33423] Re: summary of script encoding”
on Sun, 27 Jan 2008 23:47:10 +0900, Nobuyoshi N.
[email protected] writes:

|> |e$B$3$&$$$&>l9g$O$d$O$je(B “e$B$“e(B” e$B$H=P$F$[$7$$$H;W$&$N$G$9$,!#e(B
|> |
|> | $ ruby -Ke -e ‘p “\xa4\xa2”’
|>
|> e$B$G$k$s$8$c$J$$$N!)e(B -Ke$B$,;[email protected]$+$i!#e(B
|
|e$B:#$O=P$k$h$&$K$7$F$”$j$^$9!#$7$+$7!"e(B-ee$B$be(Bstdine$B$HF1$8$/>o$Ke(Blocale
|e$B$K$J$k$h$&$K$9$k$H!"e(BEUC-JPe$B$N4D6-0J30$G$O=P$J$/$J$k$O$:$G$9!#e(B

e$B$"!<!"$=$&$$$&$3$H$+!#e(B

e$B$$$d!"$^$F$h!#e([email protected][email protected]$+$i!"$=$l$O:#e(B
e$B$N$^$^e(B(-Ke$B$G;XDj$7$?%(%s%3!<%G%#%s%0!#e(Bscript
encodinge$B$r;XDj$7e(B
e$B$?$3$H$K$J$ke(B)e$B$G$$$$$s$8$c$J$$$G$7$g$&$+!#e(B

e$B$G!"e(B-Ee$B$O85!9e(Bdefault_externale$B$7$+0UL#$7$J$$$s$G!"e(BEUC-JPe$B$N4D6-e(B
e$B0J30$G=P$J$$$N$OEv$?$jA0$N$h$&$J!#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