Subject AW: AW: AW: [Firebird-Java] urgend charset problem
Author Steffen Heil
Hi

> Then please prepare me the test case to reproduce the problem, or give me
your code and database.

I just did.

With jaybird1.5.1 I get correct behaviour:

server01:~/testcase# $JAVA_HOME/bin/java -cp firebirdsql-full.jar:.
de.debug.Database
Database initialized.
user:Anonyme Anmeldung character no 8 is 65 false
user:SH Solutions character no 8 is 105 false
user:Tamara M?ller (mail@...) character no 8 is 252 true
database connection successfull.

With jaybird1.5.3 I got instead:

server01:~/testcase# $JAVA_HOME/bin/java -cp firebirdsql-full.jar:.
de.debug.Database
Database initialized.
user:Anonyme Anmeldung character no 8 is 65 false
user:SH Solutions character no 8 is 105 false
user:Tamara M?ller (mail@...) character no 8 is 65533
false
database connection successfull.

Important are the number behind "character no 8 is" and the following bool
for the third entry.
Since my console cannot handle german characters, both show "?" in the name,
but looking at the character you see, they differ.

Code for de.debug.Database is appended as well as two supporting classes and
a backup of the database.
The Database class is for testing only, the DatabaseProvider class is only
moved to another package name.

Hope this helps.

Regards,
Steffen


[Non-text portions of this message have been removed]