Subject | Re: [Firebird-Java] Which charset to use? |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-07-29T10:20:04Z |
> My database uses mostly ISO-8859-1 charset on varchar fields.You can use either UTF-8 or ISO-8859-1 charsets. Both will work and there
>
> 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?
should be no noticable performance penalty, though ISO-8859-1 might be
slightly faster.
Roman