Hiroshi Nakamura created JRUBY-6487:
---------------------------------------

             Summary: [1.9] Script encoding not honor -K
                 Key: JRUBY-6487
                 URL: https://jira.codehaus.org/browse/JRUBY-6487
             Project: JRuby
          Issue Type: Improvement
          Components: Interpreter
    Affects Versions: JRuby 1.6.6
         Environment: jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java 
HotSpot(TM) 64-Bit Server VM 1.7.0_04-ea) [linux-amd64-java]

            Reporter: Hiroshi Nakamura


{noformat}
% cat foo.rb
p __ENCODING__
puts 
"あいうえおかきくけこ"
% ruby -Ku foo.rb
#<Encoding:UTF-8>
&#12354;&#12356;&#12358;&#12360;&#12362;&#12363;&#12365;&#12367;&#12369;&#12371;
% jruby167 --1.9 -Ku foo.rb
SyntaxError: foo.rb:2: invalid multibyte char (US-ASCII)
{noformat}

--
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


Reply via email to