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 102277 - Unmappable char
Summary: Unmappable char
Status: RESOLVED INVALID
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 08:46 UTC by Jesse Glick
Modified: 2007-10-04 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-04-24 08:46:04 UTC
scripting/ruby/jruby/patched_source/jruby-0.9.8/src/jregex/Bitset.java:312:
warning: unmappable character for encoding UTF-8
      b1.setRange('?','?');
                   ^

Same at line 318. Either switch to UTF-8 or use \uXXXX escapes.
Comment 1 Torbjorn Norbye 2007-04-24 15:44:28 UTC
This is in the JRuby code itself (which is unpacked and built as part of the Ruby build).  I know they're 
aware of the issue - I saw discussion of it yesterday (it seems to only happen on Linux).
Comment 2 Jesse Glick 2007-04-24 18:21:39 UTC
As with all modern Linux distributions, my system encoding is UTF-8. Besides
fixing sources, could also pass encoding="..." to Ant, but probably \uXXXX
escapes would be safest and best.
Comment 3 Jiri Kovalsky 2007-07-03 13:58:36 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 4 Torbjorn Norbye 2007-08-09 22:31:00 UTC
A bug in JRuby, not in NetBeans sources; will file a JRuby issue soon
Comment 5 Martin Krauskopf 2007-10-04 12:49:07 UTC
This is not NetBeans bug. It is bug in the interpreter. BTW it was fixed in the SVN rev. 3870.

http://archive.jruby.codehaus.org/scm/20070613080831.344.qmail%40mail.codehaus.org