[Feature #1951] openのBOM指定拡張

Feature #1951: opene$B$Ne(BBOMe$B;XDj3HD%e(B
http://redmine.ruby-lang.org/issues/show/1951

e$B5/I<<Te(B: Yui NARUSE
e$B%9%F!<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Yui NARUSE

#747e$B$He(B#[email protected]$5$l$?!"e(Bopene$B$Ne(BBOMe$B;XDj3HD%$G$9$,!"8=:_$N;EMM$O!"e(B

  • BOMe$B$r<N$F$ke(B
  • BOMe$B$r8+$Fe([email protected]Dj$9$ke(B
    e$B$H$$$&e(B2e$B$D$N5!G=$,:.:
    $7$F$$$^$9!#e(B

e$B$3$N$?$a$K!"$?$H$($P!Ve(BUTF-8-BOMe$B!W$H$$$&;XDj$G$b!"e(B
BOMe$B$,e(BUTF-16LEe$B$r<($7$F$$$?>l9g$K$O<B:]$KJV$C$F$/$ke(BStringe$B$Oe(BUTF-16LEe$B$K$J$C$F$7$^$$$^$9!#e(B

e$B$3$NLdBj$KBP$9$k2r7h0F$H$7$F!"e(B

  • UTF-*-BOM
    e$B$Oe(BBOMe$B$r<[email protected]$1!#JL$Ne([email protected]$C$?>l9g$ONc30e(B
  • BOM|UTF-e$B$rDI2C!"$3$l$,8=:_$Ne(BUTF--BOMe$BAjEv$NF0:ne(B
    (BOMe$B$r8+$ke(B OR UTF-*e$B$H;XDj!"$H$$$&%$%a!<%8e(B)
    e$B$H$$$&$b$N$r9M$($F$$$^$9!#e(B
    e$B3$5$s$O$I$N$h$&$K;W$o$l$^$9$+!)e(B

e$B%A%1%C%He(B #1951 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

Target version 1.9.2e$B$K%;%C%He(B

e$B5-=R$,@53N$G$J$$$H$$$&;XE&$r<u$1$?$N$GD{@5$7$^$9!#e(B

e$B8=>u$N5!G=$O!e(B
e$B!Ve(BBOMe$B$K=>$C$Fe([email protected]_Dj$9$k$,!e(BBOMe$B$,$J$$>l9g$N%G%U%)%k%HCM$r;XDj$G$-$k!We(B
e$B$H$$$&$b$N$G$9$,!8=>u$N;XDjJ}K!$G$$k!Ve(BUTF--BOMe$B!W$+$i8+$FD>4QE$G$O$$j$^$;$s!#e(B
e$B$f$($K!!Ve(BBOM|UTF-*e$B!W$HJQ99$9$k0F$G$9!#e(B

e$BG0$N$?$a!"!Ve(BBOM|UTF-e$B!W$NF0:n$r$$5$i$$$7$^$9$H!e(B
e$BKAF,$Ke(BU+FEFFe$B$,$$C$?>l9g!"$3$l$re(BBOMe$B$H$_$J$7!"$=$l$K4p$E$-e([email protected]_Dj$7$^$9!#e(B
e$B$3$N>l9g$OKAF,$Ne(BU+FEFFe$B$Oe(BBOMe$B$J$N$G$9$+$i!"[email protected](BStringe$B$K$O4^$a$^$;$s!#e(B
e$BKAF,$Ke(BU+FEFFe$B$,$J$+$C$?>l9g!"8eH>$Ne(BUTF-*e$B$re([email protected]_Dj$7$^$9!#e(B

e$B0lJ}$G!"!Ve(BUTF-*-BOMe$B!W$KBP$7$F$O!"e(Bencodinge$B$,e(BUTF-*e$B$G$+$D!KAF,$Ne(BU+FEFFe$B$Oe(BBOMe$B$G$$k$H$$$&;XDj$G$9!#e(B
e$B$3$N>l9g$b!KAF,$Ne(BU+FEFFe$B$Oe(BBOMe$B$J$N$G$9$+$i![email protected](BStringe$B$K$O4^$a$^$;$s!#e(B
[email protected](BBOMe$B$dJ8;zNs$,;XDj$Ne(Bencodinge$B$HL7=b$7$?>l9g$ONc30$,>e$,$j$^$9!#e(B
e$BKAF,$Ke(BU+FEFFe$B$,$J$+$C$?>l9g$O!"IaDL$Ne(BUTF-*e$B$HF0:n$,JQ$o$j$^$;$s!#e(B

e$B$A$J$$K!IaDL$N!Ve(BUTF-*[email protected]$C$?>l9g$O!KAF,$Ke(BU+FEFFe$B$,$$C$?>l9g!$3$l$re(BZWNBSPe$B$H$$J$7J];}$7$^$9!#e(B
e$B$J$+$C$?>[email protected]?$b5/$-$^$;$s!#e(B

http://redmine.ruby-lang.org/issues/show/1951

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

In message [ruby-dev:39111] [Feature #1951]
opene$B$Ne(BBOMe$B;XDj3HD%e(B
on Aug.19,2009 01:10:38, [email protected] wrote:

e$B8=>u$N5!G=$O!e(B
e$B!Ve(BBOMe$B$K=>$C$Fe([email protected]_Dj$9$k$,!e(BBOMe$B$,$J$$>l9g$N%G%U%)%k%HCM$r;XDj$G$-$k!We(B
e$B$H$$$&$b$N$G$9$,!8=>u$N;XDjJ}K!$G$$k!Ve(BUTF--BOMe$B!W$+$i8+$FD>4QE$G$O$$j$^$;$s!#e(B
e$B$f$($K!!Ve(BBOM|UTF-*e$B!W$HJQ99$9$k0F$G$9!#e(B

e$B85;EMM!"$D$^$j!"!Ve(BUTF--BOMe$B!W$H$$$&;XDj$rDs0F$7$?$N$O;[email protected]$C$?e(B
e$B$o$1$G$9$,!"e(Btrunke$B$KF~$l$F$b$i$C$?D>8e$/$i$$$+$iHs>o$K8e2y$7$Fe(B
e$B$
$j$^$9!#e(B
e$B$H$$$&$o$1$G!"!Ve(BBOM|UTF-e$B!W$HJQ99$9$k$3$H$KA4LLE$K;[email protected]$G$9!#e(B

e$B:#$J$i4V$K9g$$$^$9$h$Me(B?

e$B0J2<$O!"!Ve(BBOM|UTF-*e$B!W$X$NJQ99$,:NMQ$5$l$k$H$$$&A0Ds$G!"F,$NBNe(B
e$BA`%l%Y%k$NDs0F$G$9!#e(B

e$B$J$*!"!Ve(BBOMe$B$K=>$C$Fe([email protected]_Dj$9$k!W$H!Ve(BBOMe$B$,$J$$>l9g$N%Ge(B
e$B%U%)%k%HCM$r;XDj$9$k!W$H$$$&5!G=$OJ,3d2DG=$H9M$($k$3$H$b$G$-e(B
e$B$J$/$O$"$j$^$;$s!#e(B
e$B$=$N>l9g!"!Ve(BBOMe$B!W$H$$$&e(Bencodinge$B;XDj$rF3F~$7!e(BBOMe$B$,$J$1$l$PNce(B
e$B30$rH/@8$5$;$k!$H$$$&0F$,$"$j$^$9!#e(B
e$B<[email protected]$,$"$k5$$O$"$^$j$7$J$$$N$G$9$,!"<{MW$O$"$k$G$7$g$&$+e(B?

e$B$^$?!"!Ve(BBOM|UTF-*e$B!W$K8B$i$:!"!Ve(BBOM|e$BG$0U$N%(%s%3!<%G%#%s%0!W$He(B
e$B$$$&;XDj$r5v$9$H$$$&0F$b$"$j$^$9!#e(B
e$B$3$l$^$?<[email protected]$O$J$5$=$&$G$9$,!"<{MW$O$"$k$G$7$g$&$+e(B?

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

e$B%A%1%C%He(B #1951 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B$H$j$"$($:e(BBOM|UTF-*e$B$X$NJQ99$re(Br24605e$B$GF~$l$^$7$?!#e(B

http://redmine.ruby-lang.org/issues/show/1951

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

In message Re: [ruby-dev:39106] [Feature #1951]
opene$B$Ne(BBOMe$B;XDj3HD%e(B
on Tue, 18 Aug 2009 23:47:17 +0900, Yui NARUSE
[email protected] writes:

|e$B$3$NLdBj$KBP$9$k2r7h0F$H$7$F!e(B
|* UTF--BOM e$B$Oe(BBOMe$B$r<[email protected]$1!#JL$Ne([email protected]$C$?>l9g$ONc30e(B
|
BOM|UTF-e$B$rDI2C!"$3$l$,8=:_$Ne(BUTF--BOMe$BAjEv$NF0:ne(B (BOMe$B$r8+$ke(B OR UTF-*e$B$H;XDj!$H$$$&%$%a!<%8e(B)
|e$B$H$$$&$b$N$r9M$($F$$$^$9!#e(B
|e$B3$5$s$O$I$N$h$&$K;W$o$l$^$9$+!)e(B

"BOM|UTF-"e$B$H$$$&;XDj$K<c43$NDq93$r3P$($k$N$G$9$,!"4pK\E$Ke(B
e$B;[email protected]$G$9!#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