Re: Encoding conversion problem



Hi Roedy,
the database (DB2) has this configuration:
....
Database territory = US
Database code page = 850
Database code set = IBM-850
....

I've exported to a file the content of a table with a CHAR(N) field
containing the EURO currency character, then I've opened the file with
EncodingRecognizer: if I choose IBM850 I see a strange character (like
a small X), if I choose ISO-8859-1 I see a square.

I tried a translation with:

String problematicString = rs.getString(index);
problematicString = new String(problematicString, "IBM850"); // Am I
correct?

but I still get garbage :-(


Thanks,
Andrea
.