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 189586 - I18N : can not see actual data with mswin32 at debugging, just "[Binary Data]" is displayed.
Summary: I18N : can not see actual data with mswin32 at debugging, just "[Binary Data]...
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: issues@ruby
URL: http://netbeans.org/projects/www/list...
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2010-08-17 11:41 UTC by Masaki Katakai
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot : [Binrary Data] is displayed instead of actual value (116.53 KB, image/png)
2010-08-17 11:41 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2010-08-17 11:41:39 UTC
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.
Comment 1 Masaki Katakai 2010-08-17 13:51:12 UTC
Is there any workaround? Any idea?