Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.5
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Ruby 1.9.2
-
Labels:None
-
Environment:Windows, Linux
-
Testcase included:yes
-
Number of attachments :
Description
When reading CSV using "CSV.foreach" method there is a problem when CSV contains some unicode characters. As a workaround "reader = CSV.open; reader.each" must be used.
In attachment there is a simple test case containing also outputs from native Ruby 1.9 and JRuby 1.6.5 (running in ruby 1.9 mode)
Does the same happen when you force file encoding to be UTF-8?
For example: