I have this scenario: when a use sql explorer to retrieve data from my tables it shows the data right. Specially those chars like grades Celcios, Umlaut, etc. The JVM uses the encoding Cp1252.
But when I write to the standard output the same data using the same encoding Cp1252 and JVM the data is displayed wrongly.
In order to undertand how SqlExplorer works i have downloaded the sources but i must admit that it's a heavy task -to understand the whole thing-.
I appreciate any help regarding how the information is retrieved and how it deals with the database encoding, which java files do that... I want to see how sqlExplorer resolves these issues and in order to incorporate this solution into my code, provide the licence permits it.
thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have this scenario: when a use sql explorer to retrieve data from my tables it shows the data right. Specially those chars like grades Celcios, Umlaut, etc. The JVM uses the encoding Cp1252.
But when I write to the standard output the same data using the same encoding Cp1252 and JVM the data is displayed wrongly.
In order to undertand how SqlExplorer works i have downloaded the sources but i must admit that it's a heavy task -to understand the whole thing-.
I appreciate any help regarding how the information is retrieved and how it deals with the database encoding, which java files do that... I want to see how sqlExplorer resolves these issues and in order to incorporate this solution into my code, provide the licence permits it.
thanks.