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!

Encoding??? Weird characters (char)65533

807607Oct 26 2006 — edited Oct 26 2006
Hello,

I have been giving the pleasant task of bugfixing something that is not created by me. I've been trying to fix it, but I don't seem to get the solution.

The problem is that users are allowed to enter data on a php website. The data is then stored in a MySQL database BLOB field. A java application gets the data from the database and makes a PDF from that.

The problem is that when the Java program fetches the String from the ResultSet, all characters like "�,�,�" have been replaced by a '?'. The (char)65533. I have a feeling this has something to do with encoding???

I have actually no clue what to do... Can somebody enlighten me on this problem?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2006
Added on Oct 26 2006
2 comments
4,427 views