Subject | Java CharSet to Firebird CharSet |
---|---|
Author | Fabiano |
Post date | 2012-08-08T21:28:31Z |
Is there a recommended way to map from a Java CharSet (i.e. default o.s. CharSet) to Firebird CharSet?
System.out.println(Charset.defaultCharset().name());
output: windows-1252
If i pass the value "windows-1252" to Jaybird in the "charSet" property, it gives an error during connection.
BTW, when i pass a wrong charset name to Jaybird, it throws a RuntimeError, instead of a SQLException error, what makes it "uncatcheable" in most cases, unless the code is catching RuntimeException's, what is not usual.
Regards,
Fabiano
System.out.println(Charset.defaultCharset().name());
output: windows-1252
If i pass the value "windows-1252" to Jaybird in the "charSet" property, it gives an error during connection.
BTW, when i pass a wrong charset name to Jaybird, it throws a RuntimeError, instead of a SQLException error, what makes it "uncatcheable" in most cases, unless the code is catching RuntimeException's, what is not usual.
Regards,
Fabiano