Issue #680 has been updated by James Gray.

Assigned to set to James Gray

Thanks for finding the bug in my logic.  It should be much faster now:

$ time ruby_dev -Eeuc-jp -rlib/csv -e 'CSV.parse(open("/Users/james/Desktop/sample.csv","r").read)'
/Users/james/Documents/ruby_source/trunk/lib/csv.rb:1981:in `=~': broken EUC-JP string (ArgumentError)
	from /Users/james/Documents/ruby_source/trunk/lib/csv.rb:1981:in `init_separators'
	from /Users/james/Documents/ruby_source/trunk/lib/csv.rb:1563:in `initialize'
	from /Users/james/Documents/ruby_source/trunk/lib/csv.rb:1350:in `new'
	from /Users/james/Documents/ruby_source/trunk/lib/csv.rb:1350:in `parse'
	from -e:1:in `<main>'

real	0m0.053s
user	0m0.039s
sys	0m0.011s

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

----------------------------------------
http://redmine.ruby-lang.org