Bug #5581 sjis characters are not displayed correctly in script area.
Submitted: 14 Sep 2004 22:25 Modified: 3 Nov 2004 12:56
Reporter: Shuichi Tamagawa Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.0.7-beta OS:Windows (Win XP / SP2)
Assigned to: Michael G. Zinner CPU Architecture:Any

[14 Sep 2004 22:25] Shuichi Tamagawa
Description:
Script area in Query Browser doesn't interpret and display sjis characters correctly. See the attached file 'script_qb.jpg'. The original script looks 'script_org.jpg'. It seems that QB interpret the script as utf-8 encoding.

How to repeat:
1.File -> Open Script
2.select the attached file 'script_example.sql' (encoded in sjis)
3.Click Open

or 

1.File -> New Script Tab
2.Open the attached file 'script_example.sql' with any editor
3.Copy the script and pase it on the script area of QB

Suggested fix:
Implement encoding option?
[14 Sep 2004 22:25] Shuichi Tamagawa
script in QB

Attachment: script_qb.JPG (image/pjpeg, text), 155.21 KiB.

[14 Sep 2004 22:26] Shuichi Tamagawa
Original script

Attachment: script_org.JPG (image/pjpeg, text), 123.64 KiB.

[14 Sep 2004 22:26] Shuichi Tamagawa
script file

Attachment: script_example.sql (application/octet-stream, text), 3.31 KiB.

[16 Sep 2004 16:48] Michael G. Zinner
Thanks for reporting. This is a know issue and we cannot replace the scripting control at the moment since the one used for the SQL Memo does not support syntax marking...

We are aware of the issue and are working to expand the component used for the SQL Memo.
[3 Nov 2004 12:56] Michael G. Zinner
Thank you for your bug report. This issue has already been fixed
in the latest released version of that product, which you can download at 
http://www.mysql.com/downloads/
[3 Nov 2004 18:54] Shuichi Tamagawa
Hi Michael,

It seems that this is not fixed yet in 1.1.0-gamma. The attached example script still get garbled when opend from QB.