Erb still treats $KCODE

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

1.9 e$B$Ne(B erb e$B$,[email protected]$K%3%^%s%I%i%$%s0z?t$Ge(B $KCODE
e$B$r;XDj$G$-$^$9$,!"e(B
e$B$3$l$O;D$C$F$$$F$$$$$N$G$7$g$&$+!#e(B

$ ./local/bin/erb --version
erb.rb [2.0.4 2008-06-02]

$ ./local/bin/erb --help
print this help
erb [switches] [inputfile]
-x print ruby script
-n print ruby script with line number
-v enable verbose mode
-d set $DEBUG to true
-r [library] load a library
-K [kcode] specify KANJI code-set
-S [safe_level] set $SAFE (0…4)
-T [trim_mode] specify trim_mode (0…2, -)
-P ignore lines which start with “%”

e$BB>$K!"0J2<$N%U%!%$%k$,e(B $KCODE e$B$r$$$8$C$F$$$^$9!#e(B

ext/tk/lib/tk/text.rb
ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb
ext/tk/lib/tk.rb
ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb
ext/tk/sample/demos-jp/widget
ext/tk/sample/irbtkw.rbw
ext/strscan/strscan.c (getch e$B$He(B getbyte
e$B$N%I%-%e%a%s%H$N%5%s%W%k$G;HMQe(B)

e$B31$H$$$$$^$9!#e(B

On 2008/06/03, at 21:37, Yusuke ENDOH wrote:

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

1.9 e$B$Ne(B erb e$B$,[email protected]$K%3%^%s%I%i%$%s0z?t$Ge(B $KCODE
e$B$r;XDj$G$-$^$9$,!"e(B
e$B$3$l$O;D$C$F$$$F$$$$$N$G$7$g$&$+!#e(B

1.9e$B$rDI$($F$J$$$N$G$I$&$7$F$h$$$+$o$+$j$^$;$s!#e(B
rubye$B$HF1MM$K$9$ke(B (-Ee$B$G$9$+e(B?) e$B$N$,$h$$$N$G$7$g$&$+e(B?

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

In message “Re: [ruby-dev:34913] Re: erb still treats $KCODE”
on Tue, 3 Jun 2008 22:17:42 +0900, Masatoshi SEKI
[email protected] writes:

|> 1.9 e$B$Ne(B erb e$B$,[email protected]$K%3%^%s%I%i%$%s0z?t$Ge(B $KCODE
|> e$B$r;XDj$G$-$^$9$,!"e(B
|> e$B$3$l$O;D$C$F$$$F$$$$$N$G$7$g$&$+!#e(B
|
|1.9e$B$rDI$($F$J$$$N$G$I$&$7$F$h$$$+$o$+$j$^$;$s!#e(B
|rubye$B$HF1MM$K$9$ke(B (-Ee$B$G$9$+e(B?) e$B$N$,$h$$$N$G$7$g$&$+e(B?

e$B$=$&$G$9$M!#e(B-Ee$B$,NI$$$G$7$g$&!#5^$.$^$;$s$+$i!";~4V$,<h$l$?;~e(B
[email protected]$1$k$H=u$+$j$^$9!#e(B

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

From: “Yusuke ENDOH” [email protected]
Subject: [ruby-dev:34911] erb still treats $KCODE
Date: Tue, 3 Jun 2008 21:37:07 +0900
Message-ID:
[email protected]

e$BB>$K!"0J2<$N%U%!%$%k$,e(B $KCODE e$B$r$$$8$C$F$$$^$9!#e(B

ext/tk/lib/tk/text.rb
ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb
ext/tk/lib/tk.rb

ext/tk/sample/irbtkw.rbw

TkCore::WITH_ENCODING e$B$Ge(B Ruby 1.9
e$B$+$I$&$+$r%A%’%C%/$7$F$^$9$+$i!$e(B
Ruby 1.9 e$B$N>l9g$K$Oe(B $KCODE e$B$r;2>H$7$F$$$kItJ,$ODL$j$^$;$s!%e(B

ext/tk/sample/demos-jp/widget

RUBY_VERSION e$B$Ge(B 1.9.0 e$B0J>e$+$r%A%’%C%/$7$F$$$^$9$+$i!$e(B
Ruby 1.9 e$B$N>l9g$K$Oe(B $KCODE [email protected]_Dj$7$F$$$kItJ,$ODL$j$^$;$s!%e(B

e$B$$$:$l$be(B 1.8 e$B$H$N6&DL2=$N$?$a$K$=$N$h$&$K$7$F$$$^$9!%e(B

ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb

e$B$3$l$K$D$$$F$O5$IU$$$F$$$^$;$s$G$7$?!%6a$/[email protected]$7$^$9!%e(B

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

At Tue, 3 Jun 2008 23:26:27 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:34918]:

ext/tk/sample/demos-jp/widget

RUBY_VERSION e$B$Ge(B 1.9.0 e$B0J>e$+$r%A%’%C%/$7$F$$$^$9$+$i!$e(B
Ruby 1.9 e$B$N>l9g$K$Oe(B $KCODE [email protected]_Dj$7$F$$$kItJ,$ODL$j$^$;$s!%e(B

e$B$$$:$l$be(B 1.8 e$B$H$N6&DL2=$N$?$a$K$=$N$h$&$K$7$F$$$^$9!%e(B

M17Ne$B4X78$G$NJ,4t$J$i!“e(BRUBY_VERSIONe$B$h$j$be(Bdefined?(::Encoding)e$B$”$?e(B
e$B$j$N$[$&$,E,@[email protected]$H;W$$$^$9!#e(B

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

From: Nobuyoshi N. [email protected]
Subject: [ruby-dev:34920] Re: erb still treats $KCODE
Date: Wed, 4 Jun 2008 04:30:23 +0900
Message-ID: [email protected]

M17Ne$B4X78$G$NJ,4t$J$i!“e(BRUBY_VERSIONe$B$h$j$be(Bdefined?(::Encoding)e$B$”$?e(B
e$B$j$N$[$&$,E,@[email protected]$H;W$$$^$9!#e(B

RUBY_VERSION e$B$G%A%’%C%/[email protected]=q$$$?ItJ,$J$s$G$9$,!$e(B
e$B3N$+$K=q$-D>$9$Y$-$G$9$M!%e(B

Encoding e$BF3F~A0$Ne(B 1.9.0

e$B$G$OF0$-$^$;$s$,!$$^$!$$$$$+$H9M$($F$^$7$?!%e(B(^_^;

TkCore::WITH_ENCODING e$B$NJ}$Oe(B

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

At Wed, 4 Jun 2008 04:52:48 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:34921]:

M17Ne$B4X78$G$NJ,4t$J$i!“e(BRUBY_VERSIONe$B$h$j$be(Bdefined?(::Encoding)e$B$”$?e(B
e$B$j$N$[$&$,E,@[email protected]$H;W$$$^$9!#e(B

RUBY_VERSION e$B$G%A%’%C%/[email protected]=q$$$?ItJ,$J$s$G$9$,!$e(B
e$B3N$+$K=q$-D>$9$Y$-$G$9$M!%e(B

Encoding e$BF3F~A0$Ne(B 1.9.0 e$B$G$OF0$-$^$;$s$,!$$^$!$$$$$+$H9M$($F$^$7$?!%e(B(^_^;

Encodinge$BF3F~A0$H$$$&$h$j!“e(BEncodinge$B$O$”$k$1$l$Ie(Blocale_charmape$B$de(B
default_externale$B$J$I$,$J$$2aEOE*$J%P!<%8%g%s$G$OF0$+$J$$$H$$$&$3e(B
e$B$H$G$7$g$&$,!"$5$9$,$K$=$3$^$GJ]>Z$9$kI,MW$O$J$$$N$G$O!#e(B

TkCore::WITH_ENCODING e$B$NJ}$Oe(B

WITH_ENCODING = Object.const_defined?(:Encoding) && ::Encoding.class == Class

e$B$J$I$H=q$$$F$^$9$,[email protected]$H2?$+$^$:$+$C$?$j$9$k$G$7$g$&$+!)e(B

e$B$=$Ne(B&&e$B$N:8JU$Oe(B defined?(::Encoding)
e$B$HEy2A$G$9$+$i!“C1$KC;$$$H$+e(B
e$B4J7i$H$$$&[email protected]$1$G$7$g$&!#%/%i%9$+$I$&$+$^$G%A%’%C%/$9$kI,MW$,$”$ke(B
e$B$N$+$H$$$&5?Ld$O$"$j$^$9$,!#e(B

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

From: Nobuyoshi N. [email protected]
Subject: [ruby-dev:34922] Re: erb still treats $KCODE
Date: Wed, 4 Jun 2008 05:11:54 +0900
Message-ID: [email protected]

e$B$=$Ne(B&&e$B$N:8JU$Oe(B defined?(::Encoding) e$B$HEy2A$G$9$+$i!“C1$KC;$$$H$+e(B
e$B4J7i$H$$$&[email protected]$1$G$7$g$&!#%/%i%9$+$I$&$+$^$G%A%’%C%/$9$kI,MW$,$”$ke(B
e$B$N$+$H$$$&5?Ld$O$"$j$^$9$,!#e(B

e$BC1$K!VG0$N$?$a!W$G$9!%e(B

1.8 e$B7O$Ge(B Encoding e$B$H$$$&Dj?t$r;H$C$F$$$k?M$,$$$k$+$b$H$+!$e(B
1.9 e$B$H$N%9%/%j%W%[email protected]$N$?$a$Ke(B 1.8 e$BMQ$K%/%i%9e(B or
e$B%b%8%e!<%k$r=q$$$Fe(B
e$BAH$9~$`?M$,$$$k$+$b$H$+$,!$Ev;~!$$U$HF,$r$h$.$C$?$+$i$J$N$G$9$,!$e(B
e$B2f$J$,$i3N$+$K!V5$$K$7$9$.!W$N$h$&$G$O$"$j$^$9$M!%e(B(^
^;

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

At Wed, 4 Jun 2008 11:53:44 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:34925]:

1.8 e$B7O$Ge(B Encoding e$B$H$$$&Dj?t$r;H$C$F$$$k?M$,$$$k$+$b$H$+!$e(B
1.9 e$B$H$N%9%/%j%W%[email protected]$N$?$a$Ke(B 1.8 e$BMQ$K%/%i%9e(B or e$B%b%8%e!<%k$r=q$$$Fe(B
e$BAH$9~$`?M$,$$$k$+$b$H$+$,!$Ev;~!$$U$HF,$r$h$.$C$?$+$i$J$N$G$9$,!$e(B
e$B2f$J$,$i3N$+$K!V5$$K$7$9$.!W$N$h$&$G$O$"$j$^$9$M!%e(B(^
^;

e$B$=$l$J$i!"e(Bdefined?(::Encoding.locale_charmap)e$B$H$+e(B
defined?(::Encoding.default_external)e$B$H$+!#e(B

e$B$3$3$^$GDj5A$7$F$"$l$P!"!V$?$^$?$^!W$G$O$J$/>/$J$/$H$b8_49$r0U<1e(B
e$B$7$F$$$k$H;W$C$F$b$$$$$N$G$O!#e(B

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

From: Nobuyoshi N. [email protected]
Subject: [ruby-dev:34926] Re: erb still treats $KCODE
Date: Wed, 4 Jun 2008 14:04:44 +0900
Message-ID: [email protected]

e$B$=$l$J$i!"e(Bdefined?(::Encoding.locale_charmap)e$B$H$+e(B
defined?(::Encoding.default_external)e$B$H$+!#e(B

e$B$3$3$^$GDj5A$7$F$"$l$P!"!V$?$^$?$^!W$G$O$J$/>/$J$/$H$b8_49$r0U<1e(B
e$B$7$F$$$k$H;W$C$F$b$$$$$N$G$O!#e(B

e$B$4$b$C$H$b$G$9!%JQ99$7$?J}$,NI$5$=$&$G$9$M!%e(B

e$B31$H$$$$$^$9!#e(B

On 2008/06/03, at 22:45, Yukihiro M. wrote:

|1.9e$B$rDI$($F$J$$$N$G$I$&$7$F$h$$$+$o$+$j$^$;$s!#e(B
|rubye$B$HF1MM$K$9$ke(B (-Ee$B$G$9$+e(B?) e$B$N$,$h$$$N$G$7$g$&$+e(B?

e$B$=$&$G$9$M!#e(B-Ee$B$,NI$$$G$7$g$&!#5^$.$^$;$s$+$i!";~4V$,e(B
e$B<h$l$?;~e(B
[email protected]$1$k$H=u$+$j$^$9!#e(B

bin/erbe$B$N7o$G$9!#e(B
e$B8E$$OC$G$9$,e(Bruby-coree$B$K$b=P$F$$$?$h$&$G:n6H$r$7$h$&$H;We(B
e$B$$$^$9!#e(B

rubye$B$Ne(B-Ee$B$N$h$&$Ke(Bdefault [email protected]_Dj$9$l$P$h$$e(B
e$B$H;W$&$s$G$9$,!“e(B
default [email protected]Dj$9$k$K$O$I$&$7$?$i$h$$$G$7$g$&$+!#e(B
$KODEe$B$
$?$$$JAH$_9~$_JQ?t$,$”$k$N$G$7$g$&$+!#e(B

irbe$B$O$I$&[email protected]$m!#e(B

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

In message “Re: [ruby-dev:37048] Re: erb still treats $KCODE”
on Mon, 10 Nov 2008 02:19:58 +0900, Masatoshi SEKI
[email protected] writes:

|rubye$B$Ne(B-Ee$B$N$h$&$Ke(Bdefault [email protected]_Dj$9$l$P$h$$e(B
|e$B$H;W$&$s$G$9$,!“e(B
|default [email protected]Dj$9$k$K$O$I$&$7$?$i$h$$$G$7$g$&$+!#e(B
|$KODEe$B$
$?$$$JAH$_9~$_JQ?t$,$”$k$N$G$7$g$&$+!#e(B

e$B$(!<$H!"e([email protected]_Dj$9$k$H$b$&JQ99$G$-$J$$$h$&e(B
e$B$K$J$C$F$^$9!#$G!"e(BRubye$B$NFbB&[email protected]_Dj$G$-$J$$$s$G!"e(Bbin/erb
e$B$N$h$&$J%1!<%9$G$O:#$^$G$HF1$8$K$O$G$-$J$$$G$9$M$(!#e(B

e$B$I$&[email protected]$m$&e(B(e$B$4$a$s$J$5$$e(B)e$B!#%3%^%s%I%i%$%s$r;XDj$7e(B
e$B$F;R%W%m%;%9$r5/F0$H$+!"$+$C$30-$$$7$J$"!#e(B

e$B$1$$$8$e!w$$$7$D$+$G$9e(B.

In [ruby-dev :37054 ] the message: "[ruby-dev:37054] Re: erb still
treats $KCODE ", on Nov/10 19:58(JST) Masatoshi SEKI writes:

e$B31$H$$$$$^$9!#e(B

bin/irbe$B$bF1MM$NLdBj$,$"$j$=$&$J$s$G$9$,!"$I$&$5$l$F$$$^$9e(B
e$B$+e(B? > [email protected]$5$se(B

e$B$$$d!<e(B.
[email protected]$r8+$F$$$F$I$&$7$h$&$+$J$!!<$H9M$($F$$$?$H$3$m$G$9e(B(^^;

default externale$B$,[email protected]_Dj$G$-$J$$$H$$$&$N$Oe(B,
[email protected]_Dj$G$-$k$H$^$:$$$+e(B
e$B$i$G$9e(B?

__
---------------------------------------------------->> [email protected](B
e$B7=<ye(B <<—
---------------------------------->> e-mail: [email protected] <<—

e$B31$H$$$$$^$9!#e(B

On 2008/11/10, at 5:12, Yukihiro M. wrote:

e$B$(!<$H!"e([email protected]_Dj$9$k$H$b$&JQ99$G$-e(B
e$B$J$$$h$&e(B
e$B$K$J$C$F$^$9!#$G!"e(BRubye$B$NFbB&[email protected]_Dj$G$-$J$$$s$G!"e(Bbin/
erb
e$B$N$h$&$J%1!<%9$G$O:#$^$G$HF1$8$K$O$G$-$J$$$G$9$M$(!#e(B

e$B$=$&$G$9$+!#e(B
e$B$I$&$7$h$&$+$J!#e(B

e$BC1$Ke(B$KCODEe$B$N=hM}$rH4$$$F$7$^$C$F$h$$$b$N$G$7$g$&$+!#e(B

bin/irbe$B$bF1MM$NLdBj$,$"$j$=$&$J$s$G$9$,!"$I$&$5$l$F$$$^$9e(B
e$B$+e(B? > [email protected]$5$se(B

e$B$I$&[email protected]$m$&e(B(e$B$4$a$s$J$5$$e(B)e$B!#%3%^%s%Ie(B
e$B%i%$%s$r;XDj$7e(B
e$B$F;R%W%m%;%9$r5/F0$H$+!"$+$C$30-$$$7$J$"!#e(B

Ce$B$G=q$$$Fe(Bargve$B$r=hM}$7$Fe(Bexece$B$9$k$H$+!E%$%^%$%A$G$9$M!#e(B

e$B31$H$$$$$^$9!#e(B

On 2008/11/10, at 20:25, [email protected]=<ye(B wrote:

e$B$$$d!<e(B. [email protected]$r8+$F$$$F$I$&$7$h$&$+$J$!!<$H9M$($Fe(B
e$B$$$?$H$3$m$G$9e(B(^^;

lib/irb/init.rbe$B$rGR8+$7$?$N$G$9$,!"e(B$KCODEe$B$N=hM}$,:o=|$5e(B
e$B$l$F$^$9$M!#e(B
e$B$I$J$?$+BP1~$7$F$/[email protected]$5$C$?$N$G$7$g$&!#e(B

bin/erbe$B$be(B$KCODEe$B$r:o=|[email protected]$1$G$h$$$N$+$7$i$s!#e(B

default externale$B$,[email protected]_Dj$G$-$J$$$H$$$&$N$Oe(B, [email protected]_e(B
e$BDj$G$-$k$H$^$:$$$+e(B
e$B$i$G$9e(B?

[email protected]$Oe(B [ruby-dev:36551] e$BJU$j$N%9%l%C%I$G$7$g$&$+e(B?

e$B$1$$$8$e!w$$$7$D$+$G$9e(B.

In [ruby-dev :37071 ] the message: "[ruby-dev:37071] Re: erb still
treats $KCODE ", on Nov/12 05:20(JST) Masatoshi SEKI writes:

e$B31$H$$$$$^$9!#e(B

lib/irb/init.rbe$B$rGR8+$7$?$N$G$9$,!"e(B$KCODEe$B$N=hM}$,:o=|$5e(B
e$B$l$F$^$9$M!#e(B
e$B$I$J$?$+BP1~$7$F$/[email protected]$5$C$?$N$G$7$g$&!#e(B

e$B3N$+$Ke(B… e$B$H$$$&$+e(B,
-Ke$B$r;H$($k$h$&$K$7$?3P$($b$"$j$^$;$s$,e(B(^^;

bin/erbe$B$be(B$KCODEe$B$r:o=|[email protected]$1$G$h$$$N$+$7$i$s!#e(B

RUBYOPTe$B$r;XDj$9$l$P;XDj$O$G$-$^$9$+$i$M$'e(B.

default externale$B$,[email protected]_Dj$G$-$J$$$H$$$&$N$Oe(B, [email protected]_e(B
e$BDj$G$-$k$H$^$:$$$+e(B
e$B$i$G$9e(B?
[email protected]$Oe(B [ruby-dev:36551] e$BJU$j$N%9%l%C%I$G$7$g$&$+e(B?

e$B$&!<$se(B. e$B$"$^$je(B,
[email protected]$1$I$J$!e(B…

matz writes:

e$B$I$&[email protected]$m$&e(B(e$B$4$a$s$J$5$$e(B)e$B!#%3%^%s%I%i%$%s$r;XDj$7e(B
e$B$F;R%W%m%;%9$r5/F0$H$+!"$+$C$30-$$$7$J$"!#e(B

e$B$3$l$be(B, e$B<B:]$K5/F0$7$?e(Brubye$B$N%Q%9$,J,$+$i$J$$$N$Ge(B,
e$BFq$7$$$G$9$h$Me(B.

e$B$3$l$C$Fe(B, erb, irb
e$B$K8B$i$:e(Bbine$B7O$J$iA4It$K$$$($k$3$H$J$N$Ge(B, Rubye$BB&$G$Ie(B
e$B$&$K$+BP=h$G$-$k$h$&$K$7$FM_$7$$$J$!e(B.

__
---------------------------------------------------->> [email protected](B
e$B7=<ye(B <<—
---------------------------------->> e-mail: [email protected] <<—

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