Subject | Re: [Firebird-Java] firebirdsql 1.5.5 failed with UTF-8 and UNICODE_FSS |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-10-12T11:54:51Z |
> I have the following result:|> with the property | without the property
>
> ----+-----------------------+-------------------------NPE happens when Java name for the connection charset ("encoding" property)
> (A) | NullPointerException | unicode data OK
> (B) | unicode data OK | unicode data garbaged
>
> I think the result is OK except the NullPointerException. It may be a
> bug. The server.log for the NullPointerException is as follows:
and platform-default encoding ($LANG for example) match
(UNICODE_FSS->UTF-8). The only workaround is to make them different.
From the code I see that issue is fixed in JayBird 2.0, but it is also worth
to release 1.5.6 update with a fix.
Also I will release RC3 today that includes fix for the issue you discovered
with your test case. Probably I will release 1.5.6 today too.
Thanks!
Roman