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.
Summary: | I18N : can not see actual data with mswin32 at debugging, just "[Binary Data]" is displayed. | ||
---|---|---|---|
Product: | ruby | Reporter: | Masaki Katakai <masaki> |
Component: | Debugger | Assignee: | issues@ruby <issues> |
Status: | NEW --- | ||
Severity: | normal | Keywords: | I18N |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://netbeans.org/projects/www/lists/nbdiscuss_ja/archive/2010-08/message/5 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot : [Binrary Data] is displayed instead of actual value |
Is there any workaround? Any idea? |
Created attachment 101444 [details] screenshot : [Binrary Data] is displayed instead of actual value I got the following issue from community member in Japan. NetBeans IDE 6.9 (Build 201006101454) Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01 Windows Vista Add -J-Dfile.encoding=UTF-8 to netbeans.conf. Ruby: mswin32 When variable is Japanese, it shows [Binary Data] at debugging when mswin32 is used. It works fine in bundled JRuby 1.5. Sample code: $KCODE='u' i_am_ruby_ascii = "I'm ruby" i_am_ruby_in_utf8 = "私はRubyです 表が怖い噂のソフト" i_am_ruby_in_utf8_pre_ascii = "1234私はRubyです 表が怖い噂のソフト" puts "RUBY_DESCRIPTION: #{RUBY_DESCRIPTION}" p i_am_ruby_ascii, i_am_ruby_in_utf8, i_am_ruby_in_utf8_pre_ascii puts i_am_ruby_ascii, i_am_ruby_in_utf8, i_am_ruby_in_utf8_pre_ascii Then, set break point and try to see the value of these variables.