-Kオプションとparser->encの関係

e$B0J2<$N$h$&$K!"e(B-Kue$B$J$I$r;XDj$7$F$be(B
e$BJ8;zNs$Ne(Bencodinge$B$Oe(BUS-ASCIIe$B$K$J$j$^$9!#e(B

$ ./ruby -Ku -e p $KCODE; a="e$B$e(B; p a.encoding; p a
UTF8
US-ASCII
\343\201\202

e$B$=$&$$$&;EMM$K$J$k$H$$$&$3$H$G$7$g$&$+!#e(B

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

In message Re: [ruby-dev:31672]
-Ke$B%*%W%7%g%s$He(Bparser->ence$B$N4X78e(B
on Wed, 29 Aug 2007 10:04:48 +0900, akira yamada /
e$B$d$^[email protected]$"$-$ie(B [email protected] writes:

|e$B0J2<$N$h$&$K!"e(B-Kue$B$J$I$r;XDj$7$F$be(B
|e$BJ8;zNs$Ne(Bencodinge$B$Oe(BUS-ASCIIe$B$K$J$j$^$9!#e(B

|e$B$=$&$$$&;EMM$K$J$k$H$$$&$3$H$G$7$g$&$+!#e(B

e$B$$$$$(!"$^[email protected](B -K e$B$K<j$,FO$$$F$$$^$;$s!#e(B
e$B8=;[email protected]$G$Oe(B -K e$B$r;XDj$9$k$He(B

  • codinge$B$N%G%U%)%k%He(B(e$BL$;XDj;~e(B)e$B$N%G%U%)%k%H$,JQ2=e(B
  • file.encodinge$B$N%G%U%)%k%H$,JQ2=e(B(e$BMW8!F$e(B)

e$B$H;W$C$F$$$^$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