Can't run ruby file with utf-8 characters -----------------------------------------
Key: JRUBY-4878 URL: http://jira.codehaus.org/browse/JRUBY-4878 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.5.1 Environment: OS X Reporter: Aslak Hellesøy Assignee: Thomas E Enebo I have this file (saved as UTF-8): # encoding: utf-8 def æøå puts "æøå" end æøå I can run it just fine on MRI 1.8.7, 1.9.1 and 1.9.2 with: ruby -Ku f.rb However, on JRuby 1.5.1 it fails with: i.rb:5: uninitialized constant æøå (NameError) I've tried various things, but can't run it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.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