×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Is there an easy way to take EBCDIC DBCS data (CCSID 5026) and convert
it to ASCII Shift-JIS (CCSID 943)?  Will the AS400Text object help me do
this?  Let's say I have an array of bytes with the EBCDIC data in it.
What's the easiest way to convert this to a String containing Shift-JIS
data?

byte[] ccsid5026 = new byte[]
  { x'0e', x'45', x'a0', x'47', x'9a', '45', x'f9', x'0f' };

And I want to get:

String jisdata;

With the following hex values: x'8d87', x'8cbe', x'9774'

Joe


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-2026 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.