Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.9] Script encoding not honor -K #913

Closed
headius opened this issue Jul 25, 2013 · 2 comments
Closed

[1.9] Script encoding not honor -K #913

headius opened this issue Jul 25, 2013 · 2 comments

Comments

@headius
Copy link
Member

headius commented Jul 25, 2013

Originally reported as http://jira.codehaus.org/browse/JRUBY-6487

% 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)
@headius
Copy link
Member Author

headius commented Jul 25, 2013

Probably another duplicate: http://jira.codehaus.org/browse/JRUBY-5432

@enebo enebo added this to the Won't Fix milestone Feb 17, 2017
@enebo
Copy link
Member

enebo commented Feb 17, 2017

This works in 9k (unsurprisingly since -Ku is basically the default in Ruby) and we will never fix this in 1.7.x as it is winding down....resolving.

@enebo enebo closed this as completed Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants