Subject Re: [Firebird-Java] Re: Charset
Author Alejandro Alberola Arias

The isc_dpb_lc_ctype is a parameter that makes
Firebird know which encoding are we using at the
client side. So, you can't set a charSet using
isc_dpb_lc_ctype without changing the decoding and
encoding of char columns around the driver
(example, FBStringField).

IMHO, both, manual and automatic approaches are
well suited to solve this problem. With the
automatic approach you don't have to bother
about setting any property in most cases, once
we include all the mappings in the driver.
With the manual approach, you also have to
include the mappings between Java encodings and
Firebird charsets, but will solve the problem
reported by Daniel (using a localized application
on an English Window).

Perhaps, an automatic charset detection plus a
property that allow us to change the default
behavior will be the best solution.



| Alejandro Alberola Arias |
| Boix i Oltra, S.L. |
| email: alberola@... |