RE: Slightly off topic - Converting UTF-8 data to encoding sche me for Japanese in IBM MainframeHi All,

Sourav,

Microsoft has a couple of sets of APIs that should allow you to do this conversion.  One is called Mlang.  This will allow you to convert UTF-8 to Japanese EBCDIC.  You can find more about it at:

http://msdn.microsoft.com/workshop/misc/mlang/mlang.asp

And the Code Page Identifiers are at:

http://msdn.microsoft.com/library/en-us/intl/unicode_81rn.asp


The other way is to use the Win32 APIs "MultiByteToWideChar" to convert the UTF-8 encoding to Unicode and the use "WideCharToMultiByte" to convert Unicode to the Japanese EBCDIC.  You can find more about these API's at

http://msdn.microsoft.com/library/en-us/intl/unicode_17si.asp

Regards, Russ (rrolfe)
One of the World-Ready Guides (wrg)
Are you World-Ready?  http://globalsys/wr


-----Original Message-----
From: Zeng, Zhaohui [mailto:Zhaohui.Zeng@NetManage.com] 
Sent: Wednesday, November 13, 2002 6:12 AM
To: www-international@w3.org
Subject: RE: Slightly off topic - Converting UTF-8 data to encoding sche me for Japanese in IBM MainframeHi All,




1, EBCDIC
2, There is no Microsoft API works well but you can try
ICU(http://oss.software.ibm.com/icu/)
3, Java does it very well if you have international version, it shares the same code base with IBM's ICU.

Good luck
Zhaohui
-----Original Message-----
From: souravm [mailto:souravm@infosys.com]
Sent: Tuesday, November 12, 2002 5:25 PM
To: www-international@w3.org
Subject: Slightly off topic - Converting UTF-8 data to encoding scheme for Japanese in IBM MainframeHi All,






Hi All,

Need an urgent help regarding UTF-8 data conversion in IBM Mainframe 390.

I have a data file in Windows system which contains Japanese characters encoded using UTF-8. I need to send this file to IBM Mainframe 390, where an application will read this data.

In this context I need to know the following information -

1. What is the encoding scheme is generally used in IBM Mainframe 390 for Japanese language ? I'm aware of IBM EUC. But this is not working.

2. Is there any API(s) available in Windows platform (2000) using which I can use to convert the UTF-8 data to the encoding scheme supported by IBM Mainframe 390 for Japanese ?

3. Does Java has any equivalent encoding scheme which can use to convert the UTF-8 data to the encoding scheme supported by IBM Mainframe 390 for Japanese ?

Could anyone please help me out in this ?

Thanks in advance,
Sourav

Received on Wednesday, 13 November 2002 13:03:15 UTC