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 134178

Summary: I18N - MySQL err message has incorrect multibyte chars in Output window
Product: db Reporter: kaa <kaa>
Component: CodeAssignee: David Vancouvering <davidvc>
Status: RESOLVED WONTFIX    
Severity: blocker CC: kfrank
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: im
image

Description kaa 2008-04-29 17:26:06 UTC
Used trunk build:
Product Version: NetBeans IDE Dev (Build 200804291203)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)

Also reproducible with MySQL bundle:
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)

Steps:
1. Establish connection with MySQL server, use test database
1. Open SQL command editor
2. Try to select * from any table that doesn't exist and has only mbyte in its name.

Err message appears in the Output window. (see image)
It shows mbyte chars from the name of the table incorrectly.
Comment 1 kaa 2008-04-29 17:30:42 UTC
Created attachment 60812 [details]
im
Comment 2 kaa 2008-04-29 17:30:57 UTC
Created attachment 60813 [details]
image
Comment 3 kaa 2008-04-29 17:31:55 UTC
Ignore please the first attachment.
Comment 4 John Baker 2008-05-16 06:37:18 UTC
The output is not displaying in multibyte just for MySQL or other databases?
If so then it would seem that this is an old bug ?
Comment 5 David Vancouvering 2008-06-19 21:48:51 UTC
I just tried this with Java DB and it works fine.  This is a bug with MySQL, not much we can do about it.