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.

Bug 120802 - Support unicode language mode
Summary: Support unicode language mode
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
Depends on: 156473
  Show dependency tree
Reported: 2007-11-01 13:57 UTC by Martin Krauskopf
Modified: 2011-01-28 20:11 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2007-11-01 13:57:44 UTC
Maybe I'm doing something wrong - some setting is missing, but I can't force the editor to not underline some lines as

# Be sure to run with the "-Ku" flag!
module Kernel
   alias λ proc

   def ∑(*args)
      sum = 0
      args.each { |e| sum += e }

   def √(root)

# A real lambda
λ { puts 'Hello' }.call

# Sigma - sum of all elements
puts ∑ (1, 2, 3)

# Square root
puts √ 49

Taken from
Comment 1 Torbjorn Norbye 2007-11-01 17:09:18 UTC
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. 
Comment 2 kiol 2009-01-18 08:32:15 UTC
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?
Comment 3 Martin Krauskopf 2009-01-19 13:08:03 UTC
Yes, we are planning to upgrade to the newest JRuby after migration of old editor infrastructure to the new one. See
issue 156473.