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 96861 - I18N - multibyte does not appear ok in part of gestures data window
Summary: I18N - multibyte does not appear ok in part of gestures data window
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-02-28 21:32 UTC by Ken Frank
Modified: 2007-09-29 02:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
gif (63.92 KB, image/gif)
2007-02-28 21:35 UTC, Ken Frank
Details
I guess this is the problem line, Jindra, please tell us where it comes from, Ken, please tell us what should be written there, thanks. (1.24 KB, image/png)
2007-04-18 08:51 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-02-28 21:32:34 UTC
choosing view data from gestures window, the window comes up that lets you
choose which item to show the raw or structured data in lower part of window

but the multibyte in raw or structured does not appear correctly - perhaps an
encoding handling situation ?
see gif for more - correct looking mbyte is in upper part of the window and on tabs
Comment 1 Ken Frank 2007-02-28 21:35:56 UTC
Created attachment 38999 [details]
gif
Comment 2 Jaroslav Tulach 2007-03-19 09:10:50 UTC
I am sorry, but I do not understand the problem. I see non-ascii charaters in all of the 
elements, I cannot guess what is wrong on them.
Comment 3 Ken Frank 2007-04-16 21:45:39 UTC
reopening - plase look at the gif for this explanation:

the multibyte as part of Structured or Raw tab at the top is correct

the part near the words "the operating system is SunOS..."
is not correct - yet the multibyte there should be seen same as that at
Structured tab.

Run in your ja locale and use some multibyte of that locale in a way that
will cause it to show in the gestures data window and you can see.

I am guessing its an encoding handling situation.

The problem is still seen today.

ken.frank@sun.com
Comment 4 Jaroslav Tulach 2007-04-17 15:49:03 UTC
Jindra, I do not have much changes to use JA, but it seems to be your message 
that has shows problems with encoding. Are you aware of any problem in the way 
you construct it?
Comment 5 Jaroslav Tulach 2007-04-18 08:51:28 UTC
Created attachment 41135 [details]
I guess this is the problem line, Jindra, please tell us where it comes from, Ken, please tell us what should be written there, thanks.
Comment 6 Jindrich Sedek 2007-04-18 09:00:09 UTC
This line is taken from
/TRUNK/logger/uihandler/src/org/netbeans/modules/uihandler/Bundle.properties
Bundle key: UI_USER_CONFIGURATION
parameters are taken as parameters of log record
Comment 7 Ken Frank 2007-04-18 15:34:45 UTC
for the question
Created an attachment (id=41135)
I guess this is the problem line, Jindra, please tell us where it comes from,
Ken, please tell us what should be written there, thanks

--- the english part of the messages are fine, its that the encoding handling
needs to probablty be changed so the multibye characters (see in that 
attachment as some random looking graphic characters) need to be
the correct multibyte chars 

which can be seen, for example, in the original gif where it says User Configuration

nothing needs to be done in the bundle file itself.

ken.frank@sun.com
Comment 8 Jindrich Sedek 2007-04-23 16:43:08 UTC
Do I understand well that we should change the encoding of the panel where the
described line is writen?
Comment 9 Jaroslav Tulach 2007-05-05 17:49:32 UTC
IDE:-------------------------------------------------
IDE: [5.5.07 9:44] Committing "UI Gestures Collector" started
cvs server: scheduling file `SubmitPanelTest.java' for addition
cvs server: use 'cvs commit' to add this file permanently
RCS 
file: /cvs/logger/uihandler/test/unit/src/org/netbeans/modules/uihandler/SubmitPanelTest.java,v
done
Checking in test/unit/src/org/netbeans/modules/uihandler/SubmitPanelTest.java;
/cvs/logger/uihandler/test/unit/src/org/netbeans/modules/uihandler/SubmitPanelTest.java,v  
<--  SubmitPanelTest.java
initial revision: 1.1
done
Checking in src/org/netbeans/modules/uihandler/SubmitPanel.java;
/cvs/logger/uihandler/src/org/netbeans/modules/uihandler/SubmitPanel.java,v  
<--  SubmitPanel.java
new revision: 1.16; previous revision: 1.15
done
Checking in src/org/netbeans/modules/uihandler/SubmitPanel.form;
/cvs/logger/uihandler/src/org/netbeans/modules/uihandler/SubmitPanel.form,v  
<--  SubmitPanel.form
new revision: 1.13; previous revision: 1.12
done
Checking in nbproject/project.xml;
/cvs/logger/uihandler/nbproject/project.xml,v  <--  project.xml
new revision: 1.11; previous revision: 1.10
Comment 10 Ken Frank 2007-05-25 19:02:38 UTC
I want to verify but I don't see gestures item on main ide or from windows menu -
is it still in nb6 ?

ken.frank@sun.com
Comment 11 Ken Frank 2007-06-20 03:29:24 UTC
using latest gestures from uc, this is not fixed. see the second image - that is the data
that is not correct - this is not about bundle file or html files that would be translated.

ie mbyte in structured data not correct
mbyte in raw data is correct.

ken.frank@sun.com
Comment 12 Jaroslav Tulach 2007-07-23 09:49:37 UTC
Re: "see in that attachment as some random looking graphic characters" - I am really not able to distinguish Japanese 
characters from random looking graphic characters.

Re: "mbyte in raw data is correct" - according to the latest UI specification, I have removed the structured data tab 
and instead there is just the raw data tab:
http://www.netbeans.org/source/browse/*checkout*/logger/uihandler/src/org/netbeans/modules/uihandler/api/doc-files/Attic/GesturesCollector_ViewData.png?rev=1.1.2.1
how do I verify that the problem is fixed?

Btw. right now the only part of UI Gestures that is in trunk is the one that handles reported exceptions. The regular 
data reporter would need to be downloaded from update center.

Comment 13 Ken Frank 2007-07-23 16:06:45 UTC
how to see the bad mbyte in first gif

the part with User Configuration at the top is ok

the part with the <message> about operating system in Sun OS ....
in the other part of the window is not correct, but it should have the same looking chars as part at top.

You can use some known mbyte characters to you in ide that would result in some msg to gestures reporting,
then it will be known where they show ok and where not.

to verify, you can do above or email me offline and I can send some pseudo jars to you that would result
in messages that would be gotten by gestures.

as to exception reporter, I sent mail to Petr B. about the i18n requirements also.

ken.frank@sun.com

Comment 14 Jaroslav Tulach 2007-07-24 12:11:23 UTC
>how to see the bad mbyte in first gif
>the part with User Configuration at the top is ok

Ok.

> the part with the <message> about operating system in Sun OS ....
> in the other part of the window is not correct, but it should have the same looking chars as part at top.

Ok, then I believe this is really fixed. The JEditorPane with <message> is gone. There is just the JEditorPane with 
raw view and you have already confirmed that the view there is ok.

> You can use some known mbyte characters to you 
Is LATIN CAPITAL LETTER Z WITH CARON (looking like "Ž", denoted as U+017D) mbyte char? If so, then this is what I used 
in the test, so I believe the code is fine.
Comment 15 Ken Frank 2007-09-29 02:46:49 UTC
I dont think the char mentioned below is mbyte - to be sure, be in ja locale
which is a mbyte locale, and on solaris, in gnome-terminal type
dumpcs

you will see all chars of that locale and can use some of them.

ken.frank@sun.com
Comment 16 Ken Frank 2007-09-29 02:56:24 UTC
verified - the part with the actual data, not the window with the
You have found a bug in the application, that may not be correct.

ken.frank@sun.com