Hi All!
PB>that's a nice thing you did :-). I'm interested in your PB>patched sources.
Thanx.
PB>Quite recently I struggled to make the driver work fine PB>with prepared
PB>statements with strings in ISO8859-2 transcoded to PB>ISO8859-1. The original
I noticed that original driver inserts into DB strings with national chars
properly when I had used PreparedStatment. But executeUpdate and executeQuery
returned "??????".
PB>driver failed even here. It actually doesn't use the PB>default "ISO8859-1"
but
PB>a platform dependent default encoding. I was successful, PB>but your solution
PB>sounds to be better.
PB>I wanted to discuss this on the mail list, but if your PB>solution covers
that
PB>problem, then there is no need. Actually I imagine I PB>would use the option:
PB>DriverSapDB.setCharacterEncoding("ISO8859-1") of your PB>driver. Do you
think it will work?
In my driver you can change encoding "on the fly" via setCharacterEncoding()
but why you need it? If you use "ISO-8859-1" you don't need to do anything. It
works with one by default. You'll need to use setCharacterEncoding() only if
you want to change default encoding.
IC>Please, can you send me modified sources of SAPDB JDBC IC>driver. I need to
work
IC>properly with national
IC>charsets (Slovak).
I've uploaded it to
http://waine.euro.ru/sapdbc/sapdbc.zip
There are sources, binaries(compiled with -g:none) and a little file readme in
this ZIP.
Please send me results of your testing.
Cincerely. Yevgeny.
----
http://www.rambler.ru
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general