Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 285542 - Problems of Output encoding in Export options at Export/Save Result
Summary: Problems of Output encoding in Export options at Export/Save Result
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: SQL Results View (show other bugs)
Version: 1.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.9   Edit
Assignee: Brian Payton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 04:32 EDT by Sachiko Suzuki CLA
Modified: 2011-05-31 18:42 EDT (History)
2 users (show)

See Also:
bpayton: iplog+


Attachments
EncodingDelimiterOptionsSection patch (2.79 KB, patch)
2009-08-04 04:32 EDT, Sachiko Suzuki CLA
no flags Details | Diff
Patch for plugin o.e.d.sqltools.result.ui (2.91 KB, patch)
2010-10-26 15:27 EDT, Brian Payton CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sachiko Suzuki CLA 2009-08-04 04:32:59 EDT
Created attachment 143369 [details]
EncodingDelimiterOptionsSection patch

Build ID: M20090211-1700

Steps To Reproduce:
1. Create a new workspace and run eclipse.
2. Create a Connection Profile and connect a databace.
3. On the Data Source Exploler view, display tables.
4. Select a table and right click, Data > Sample Contents.
5. On the Result tab in the right pane of SQL Results view,
   right click and select Export/Save > Current Result.
6. Export/Save Result windows open.
   Output encoding of Export options is not "UTF-8" but "ISO-8859-1",
   and the list contains "MS932" that Preferences setting doesn't.

More information:
The environment is Japanese. 
I attached an patch to fix this problem.
Comment 1 Brian Payton CLA 2009-12-16 19:04:30 EST
Hi Quy, can you review the patch?
Comment 2 Brian Payton CLA 2010-10-26 15:27:09 EDT
I am attaching an updated patch. I changed the method name from "getEncodings" to "loadEncodings", since it doesn't return anything any more.  (It's a private method, so the name change shouldn't cause a problem.)
Comment 3 Brian Payton CLA 2010-10-26 15:27:48 EDT
Created attachment 181768 [details]
Patch for plugin o.e.d.sqltools.result.ui
Comment 4 Brian Payton CLA 2010-10-26 17:04:20 EDT
Checked in fix, tagged change to v201010270500 in HEAD stream (DTP 1.9)