Bug 189586 - I18N : can not see actual data with mswin32 at debugging, just "[Binary Data]" is displayed.
I18N : can not see actual data with mswin32 at debugging, just "[Binary Data]...
Status: NEW
Product: ruby
Classification: Unclassified
Component: Debugger
6.x
PC Windows XP
: P3 with 1 vote (vote)
: TBD
Assigned To: issues@ruby
issues@ruby
http://netbeans.org/projects/www/list...
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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?


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo