e$B0J2<$N$h$&$Ke(B eval(""\xfd".force_encoding(“utf-8”)) e$B$H$9$k$He(B
e$B%(%i!<%a%C%;!<%8$Ke(B (cat -v e$B$G8+$($k$h$&$K$7$Fe(B)
M-`M-bM-OM-7utf-8 e$B$J$I$H$$$&%4%_$,=P$F$-$^$9!#e(B
sh-2.05b$ ./ruby -ve ‘eval(""\xfd".force_encoding(“utf-8”))’ 2>&1 | cat
-v
ruby 1.9.0 (2007-11-28 patchlevel 0) [i686-linux]
-e:1:in eval': -e:1:in
eval’: (eval):1: syntax error, unexpected
tIDENTIFIER, expecting $end (SyntaxError)
…M-lM-bM-RM-7utf-8
… ^ from -e:1:in `’
sh-2.05b$
1.8 e$B$G;w$?$3$H$r9T$&$He(B unterminated string meets end of file
e$B$K$J$k$N$G$9$,!"$=$A$i$,E,@Z$@$H;W$$$^$9!#e(B
sh-2.05b$ ./ruby -v -Ku -e ‘eval(""\xfd")’
ruby 1.8.6 (2007-12-01 patchlevel 5000) [i686-linux]
-e:1: (eval):1: compile error (SyntaxError)
(eval):1: unterminated string meets end of filesh-2.05b$
e$B$?$@!"e(B1.8 e$B$G$O!“e(Bunterminated string meets end of file
e$B$N8e$Ke(B
e$B2~9T$,=P$:!”%7%’%k$N%W%m%s%W%H$,$D$J$,$C$F$7$^$$$^$9!#e(B