Hi all,
I have a problem with encoding/conversion from pc to mf.
Environment is Exx711.60 on Windows 2000 talking to a secure broker on zOS. The server is Natural 316 using RPC 5.11.
The mf is using codepage 420 (Arabic).
The pc app (C#) is using the default 1252 codepage. I am trying to get conversion to work with codepage 1256 (Arabic on Windows).
The code is as follow:
public bool PrepEnv() {
try {
if ( broker == null ) {
broker = new Broker(
szBroker,
szUserID );
}
if ( service == null ) {
service = new Service(
broker,
szServer,
szLibrary );
service.CharacterEncoding = Encoding.GetEncoding( 1256 );
}
return true;
}
catch( XException xexp ) {
throw new BrokerException( xexp.errorCode, xexp.Message );
}
}
The generated object is instantiated with the service object described above.
Changing the machine’s locale to 1256 does not work either.
However when I look at the trace file on the Windows machine I still get the codepage as 1252.
The mf gives a 10030038 error message.
The mf broker kernel uses Conversion for this service.
Any ideas please.
Regards
William