You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used jruby 9.0.0.0 on Windows.
9k fail to compile ruby code of using multibyte char.
I was comfirmed using jrubyc and JRuby.compile_ir, warble compiled war
ex) use jrubyc
# coding: utf-8puts"あ"
C:\workspace>jrubyc target.rb
SyntaxError: target.rb:2: invalid multibyte char (UTF-8)
puts "???"
parse at file:/C:/workspace/jruby-9.0.0.0/lib/jruby.jar!/jruby/jruby.rb:66
compile_ir at file:/C:/workspace/jruby-9.0.0.0/lib/jruby.jar!/jruby/jruby.rb:78
block in compile_files_with_options at C:/workspace/jruby-9.0.0.0/lib/ruby/stdlib/jruby/compiler.rb:159
call at org/jruby/RubyProc.java:308
block in compile_files_with_options at C:/workspace/jruby-9.0.0.0/lib/ruby/stdlib/jruby/compiler.rb:291
each at org/jruby/RubyArray.java:1560
compile_files_with_options at C:/workspace/jruby-9.0.0.0/lib/ruby/stdlib/jruby/compiler.rb:275
compile_argv at C:/workspace/jruby-9.0.0.0/lib/ruby/stdlib/jruby/compiler.rb:94
<top> at C:/workspace/jruby-9.0.0.0/bin/jrubyc:5
The text was updated successfully, but these errors were encountered:
@yousuketto On my machine the utf-8 for 'a' in Hiragana does not show up as that symbol in either .rb or .class compiled. On MacOS, with CP-1252 as my file.encoding it does show up correctly. I think this has more to do with displaying output than JRuby improperly compiling this (it is possible we have a different bug with displaying this properly on windows though). So I believe this is fixed. At least I know I fixed 2 issues with jrubyc.
I have used jruby 9.0.0.0 on Windows.
9k fail to compile ruby code of using multibyte char.
I was comfirmed using
jrubyc
andJRuby.compile_ir
,warble compiled war
The text was updated successfully, but these errors were encountered: