Subject | Re: [Firebird-Java] Re: Java CharSet to Firebird CharSet |
---|---|
Author | Roman Rokytskyy |
Post date | 2012-08-12T22:02:44Z |
> I would like to connect using the current charset from O.S, so i cannot hard-code a string, be it in the "charSet" or "encoding" property, as my application can run in different O.S or in the same O.S but with different charset.In case of Java the connection charset has little to do with the OS, but
rather with the encoding of data in the database. Only if data in the
database are in NONE encoding and are being populated via fbclient.dll
in the OS charset, then what you write makes sense. But only on that
particular computer. And NONE encoding is evil anyway. :)
Roman