Re: Encoding conversion problem
- From: Andrea <tol7481@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Feb 2008 03:22:16 -0800 (PST)
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
.
- Follow-Ups:
- Re: Encoding conversion problem
- From: Silvio Bierman
- Re: Encoding conversion problem
- From: Silvio Bierman
- Re: Encoding conversion problem
- References:
- Encoding conversion problem
- From: Andrea
- Re: Encoding conversion problem
- From: Roedy Green
- Encoding conversion problem
- Prev by Date: Re: Encoding conversion problem
- Next by Date: Re: Encoding conversion problem
- Previous by thread: Re: Encoding conversion problem
- Next by thread: Re: Encoding conversion problem
- Index(es):