Subject Re: [Firebird-Java] Re: Charset
Author Marczisovszky Daniel
r> So, the code for charset would look like this:

r> FBWrappingDataSource ds = ...;

r> FBConnectionRequestInfo cri = ds.getConnectionRequestInfo();
r> cri.setProperty(GDS.isc_dpb_lc_ctype, "WIN1252");
r> // and I'm not sure if you need next line, but it will make no harm
r> ds.setConnectionRequestInfo(cri);

r> Connection c = ds.getConnection();

r> (I never tried this code, but this is how it should work :)).

Thanks, I'll surely try this, as my software should work on Thursday,
with Hungarian accented characters...

r> I plan to make this feature available through the properties you pass
r> to the Driver interface, but it will be called "lc_ctype",
r> not "charSet".

Am I right that currently there is no agreement how should it work
exactly? Just because you're going to add it as a property, but
Alejandro already implemented with an automatic procedure.

I would like your solution much more. As I mentioned it should work
really soon, so probably I'll try to implement this feature, if it
does not take too long, otherwise now I'll use the above code and will
playing with the source later.

Best wishes,
Daniel