Manfred Panter wrote:
I strongly recommend you use unicode, it will save you a lot of problems in the future. This is the first one that it would have solved. :-)Hello All, 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.
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.
I don't know python so I can't explain this.
If you insist on not using unicode (again, please reconsider your descision) you have to be aware of the fact that the �-sign doesn't exist in ISO-8859-1. It's only in ISO-8859-15 (which, as far as I know, only differs from -1 for the euro symbol).What can I do to handle the Euro-Sign in Java Apps?
Yes, it's an encoding problem. You are not saying wether you are running Unix or Windows, but it sounds like Unix. Java uses the platform defualt encoding unless you override it, which on Unix is usually ISO-8859-1. This would explain why you can't write the euro symbol to the database.I think it might be an encoding problem. But I don't really know.
Are there any possibilities to set the encoding in the JDBC-Driver configuration (I couldn't find any hints :-( )I don't think there is. I'm sure the driver source contains all the information needed to figure this out, but I'm also certain that there are other people here that how the answer right away, I'll wait for what they have to say. :-)
No, and either would you if you used unicode. :-) (don't worry, it was just a joke :-) ).Does anybody have some experience with this behaviour?
Hope this helps
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general
