CSV.parse error

e$B$H$_$?$G$9!#e(B

1.8 e$B$GLdBj$J$$e(B CSV e$B%G!<%?$re(B 1.9 e$B$Ge(B CSV.parse
e$B$9$k$H%(%i!<$K$J$k$3$H$,$"e(B
e$B$j$^$9!#e(B

e$B$I$&$d$ie(B "
e$B$G3g$i$l$?Cf$K!"%l%3!<%IKvHx$N2~9T%3!<%I$H0[$J$k2~9T%3!<%I$,e(B
e$B$"$k>l9g$N=hM}$,$*$+$7$$$h$&$G$9!#e(B

$ ruby1.8 -v -rcsv -e ‘p CSV.parse("“a\nb”\r\n")’
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
[[“a\nb”]]

$ ruby1.9 -v -rcsv -e ‘p CSV.parse("“a\nb”\r\n")’
ruby 1.9.0 (2007-12-25 revision 14709) [i686-linux]
/usr/local/lib/ruby/1.9.0/csv.rb:1607:in raise': Unclosed quoted field on line 1. (CSV::MalformedCSVError) from /usr/local/lib/ruby/1.9.0/csv.rb:1607:inblock in shift’
from /usr/local/lib/ruby/1.9.0/csv.rb:1527:in loop' from /usr/local/lib/ruby/1.9.0/csv.rb:1527:inshift’
from /usr/local/lib/ruby/1.9.0/csv.rb:1472:in each' from /usr/local/lib/ruby/1.9.0/csv.rb:1483:into_a’
from /usr/local/lib/ruby/1.9.0/csv.rb:1483:in read' from /usr/local/lib/ruby/1.9.0/csv.rb:1220:inparse’
from -e:1:in `’

$ ruby1.9 -rcsv -e ‘p CSV.parse("“a\r\nb”\n")’
/usr/local/lib/ruby/1.9.0/csv.rb:1607:in raise': Unclosed quoted field on line 1. (CSV::MalformedCSVError) from /usr/local/lib/ruby/1.9.0/csv.rb:1607:inblock in shift’
from /usr/local/lib/ruby/1.9.0/csv.rb:1527:in loop' from /usr/local/lib/ruby/1.9.0/csv.rb:1527:inshift’
from /usr/local/lib/ruby/1.9.0/csv.rb:1472:in each' from /usr/local/lib/ruby/1.9.0/csv.rb:1483:into_a’
from /usr/local/lib/ruby/1.9.0/csv.rb:1483:in read' from /usr/local/lib/ruby/1.9.0/csv.rb:1220:inparse’
from -e:1:in `’

$ ruby1.9 -rcsv -e ‘p CSV.parse("“a\nb”\n")’
[[“a\nb”]]

$ ruby1.9 -rcsv -e ‘p CSV.parse("“a\r\nb”\r\n")’
[[“a\r\nb”]]