This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Maybe I'm doing something wrong - some setting is missing, but I can't force the editor to not underline some lines as errors. ==== # Be sure to run with the "-Ku" flag! module Kernel alias λ proc def ∑(*args) sum = 0 args.each { |e| sum += e } sum end def √(root) Math.sqrt(root) end end # A real lambda λ { puts 'Hello' }.call # Sigma - sum of all elements puts ∑ (1, 2, 3) # Square root puts √ 49 ==== Taken from http://www.oreillynet.com/ruby/blog/2007/10/fun_with_unicode.html
That program is invalid and will generate syntax errors, unless you invoke Ruby in a special mode (with -Ku). As far as I understand, proper Unicode support is planned for Ruby 2.0. I tried running the same program with JRuby + -Ku but it doesn't seem to have an effect (-K isn't listed as a supported flag for the jruby interpreter) so there's little we can do about this.
jruby 1.1.6 can support the unicode method name properly. but netbeans 6.5 or 7.0 alpha1 using jruby 1.1.4. do 7.0 will upgrade jruby to 1.1.6 and support the unicode method name?
Yes, we are planning to upgrade to the newest JRuby after migration of old editor infrastructure to the new one. See issue 156473.