ICodePageConverter interface | QSYS API Reference Guide

Implement this interface to add your own CodePage conversion if Wings or the 5250 emulator don’t already know it.

Namespace: ASNA.QSys.Runtime.JobSupport Assembly: ASNA.QSys.Runtime.dll

Extends: doesn’t extend any other interfaces.

Methods

Signature Description
MSCodePageFromIBMCodePage(Int32, Int32&) Converts IBM i CodePage numbers to the corresponding .Net Encoding CodePage numbers. See “Code Page Identifiers” in MSDN help: http://msdn.microsoft.com/en-us/library/dd317756%28v=vs.85%29.aspx.

bool MSCodePageFromIBMCodePage(int ibmCodePage, Int32& msCodePage)

Converts IBM i CodePage numbers to the corresponding .Net Encoding CodePage numbers. See “Code Page Identifiers” in MSDN help: http://msdn.microsoft.com/en-us/library/dd317756%28v=vs.85%29.aspx.

bool MSCodePageFromIBMCodePage(int ibmCodePage, Int32& msCodePage)

Parameters

Type Parameter name Description
Int32 ibmCodePage The CodePage number in the IBM i.
Int32& msCodePage The CodePage number in .Net Encoding corresponding to the IBM i CodePage.

Returns

Type Description
Boolean true if the conversion for a particular IBM i CodePage succeeded. False if not.