Hey there! well i ll try to be brief. I wrote some a java program that calls a RPG program on an IBM iSeries that encrypts passwords. if i run my java program from my pc the password encryptions goes well, but if i run the program on the iSeries the encryption gets messed.
I want to make you all note that the default encoding on my PC's jvm is UTF-8, but the on the iSeries is ISO-8859-1.
I connect to the iSeries via JTOpen driver. My guess is that i have somehow change the iSeries jvm encodingo to UTF-8 but it seems imposible since they recommend that you manage from your code. Hope someone can help me out. Thanks in advance!
Encrypting a password shouldn't involve encoding between bytes and chars on any system. So if you're doing that, you are doing it wrong. And if you aren't doing that, then the encodings have nothing to do with your problem.
Speaking of your problem... it would help if you explained it. "Messed" isn't very precise, in fact it tells us almost nothing about the problem.
subject: Character Encoding on Pc and iSeries server