Hi Brad,

I've never had a problem? Also, 1208 isn't DBCS, it's UTF-8...

Make sure you are using a separate output buffer from input buffer. (i.e. don't use the same spot in memory for both input and output.)

Other than that, I can't think of anything that could go wrong -- and it has always worked for me.


On 11/17/2011 2:12 PM, Bradley Stone wrote:
I am using iConv to convert data from 37 to 1208. The data contains
one character (accented capital E) that is converted to DBCS in 1208.

I have an issue where I am getting different results on a V5R3 machine
vs anything newer than that.

V5R3 seems to convert things ok.

V5R4 and up the accented E gets converted properly to the right DBCS
value, but everything after that (simple letters) are corrupted.

Any idea what could be causing this? Is this a case where I would
need to convert each character one by one instead of all at once?

Thanks!

Brad


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.