This might a bug within the Charset-stuff of Java.I have a problem with the Euro sign! I am using a Sapdb 7.3 and the latest JDBC-Driver. The database is *not* set up as a unicode db. Just like the normal Sample-Database.
question for Alex. Schröder:
Which charset is the JDBC-driver using, to send the Strings to the database?
I tried to produce a Java-File that outputs an €-sign, but i have troubles, because the char isn't shown correctly on the console, and i haven't tried a GUI-app yet.
It might work with Python, but does Python use Unicode?First I thought, it could be the JDBC-Driver but then I tested it with python and it worked there. I can write and read the sign with Python.
If it uses String with 8-bit per char, than the SAPDB's Python-API might just send the string as-is.
What can I do to handle the Euro-Sign in Java Apps?
Use a Unicode-DB.
I'm writing a web-app which uses UTF-8 encoding of the pages, UTF-8 encoding for POST-Data, the Querystring etc.Does anybody have some experience with this behaviour?
Of course i'm using a Unicode-DB.
Java uses 2byte Unicode, so i think that it's a good idea to use a Unicode-DB too. There will be no encoding/decoding while querying strings from the DB.
It works perfectly here with my web-app. Every char i can think of is shown correctly.
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general
