Subject Which charset to use?
Author personalsoft_fabiano
Hi all,

I have an application which execute statements in a firebird database.
This app is a console app supposed to run from DOS and Linux.

These statements are sometimes stored in string constants defined
inside the java class, and eventually they have accented characters.

My database uses mostly ISO-8859-1 charset on varchar fields.

Which charset should i use to connect to the database to have the
accents written correctly in the database?

I suppose despite the platform the app will run from, all Java strings
uses UTF-16 charset, so i should connect to the database using UTF-8,
is it right?