Claus Folke Brobak created JRUBY-6615: -----------------------------------------
Summary: File.open ignores specified external encoding Key: JRUBY-6615 URL: https://jira.codehaus.org/browse/JRUBY-6615 Project: JRuby Issue Type: Bug Environment: jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java HotSpot(TM) Client VM 1.6.0_21) [Windows XP-x86-java] Reporter: Claus Folke Brobak Assignee: Thomas E Enebo Example: {code} # NOTE: source encoding: UTF-8 File.open('out.txt', 'w:Windows-1252:-') { |f| f.puts '£' } {code} The resulting output file is in UTF-8 instead of Windows-1252. If using MRI, the output file is in Windows-1252 as intended. -- 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