Petr Bartos created JRUBY-6266: ---------------------------------- Summary: Unicode encoding problem in CSV.foreach Key: JRUBY-6266 URL: https://jira.codehaus.org/browse/JRUBY-6266 Project: JRuby Issue Type: Bug Components: Ruby 1.9.2 Affects Versions: JRuby 1.6.5 Environment: Windows, Linux Reporter: Petr Bartos Assignee: Thomas E Enebo Attachments: jruby-csv.zip
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) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email