e$B0J2<$N$h$&$K!“e(B”" e$B$re(B 2e$B2se(B marshal e$B$9$k$He(B
ArgumentError e$B$K$J$j$^$9!#e(B
% ./ruby -ve
‘Marshal.load(Marshal.dump(Marshal.load(Marshal.dump(""))))’
ruby 1.9.2dev (2009-06-12 trunk 23669) [i686-linux]
-e:1:in load': marshal data too short (ArgumentError) from -e:1:in
’
In article [email protected],
Tanaka A. [email protected] writes:
e$B0J2<$N$h$&$K!“e(B”" e$B$re(B 2e$B2se(B marshal e$B$9$k$He(B ArgumentError e$B$K$J$j$^$9!#e(B
e$B$*$C$H!"e(Blocale e$B0MB8$G$7$?!#e(B
% LANG=ja_JP.EUC-JP ./ruby -ve
‘Marshal.load(Marshal.dump(Marshal.load(Marshal.dump(“”))))’
ruby 1.9.2dev (2009-06-12 trunk 23669) [i686-linux]
-e:1:in load': marshal data too short (ArgumentError) from -e:1:in
’
e$B$^$?!"e(BC locale e$B$J$i0J2<$N$h$&$K$7$F:F8=$5$;$i$l$^$9!#e(B
% LANG=C ./ruby -ve
‘Marshal.load(Marshal.dump(Marshal.load(Marshal.dump(“”.force_encoding(“EUC-JP”)))))’
ruby 1.9.2dev (2009-06-12 trunk 23669) [i686-linux]
-e:1:in load': marshal data too short (ArgumentError) from -e:1:in
’