Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Weird Encoding Decoding

807605Aug 2 2007 — edited Aug 2 2007
I have this small problem with this encoding/decoding class I made. The class takes a string and turns each character into another character. So 'a' would be an 'S' and b might be a '*'. Encoding and coding works fine but when I switch platform it doesn't. Like if I compile the jar on Mac, it won't work the same on Windows XP, and vice versa.

Could this be because the ASCII are different on each platform? And also, all the ASCII characters are used.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2007
Added on Aug 2 2007
6 comments
89 views