This function is used for obtaining the encoding name from a given encoding constant.
Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetModelStringEncodingName (SdaiServerContext serverContextId,
SdaiString stringEncoding,
SdaiInteger *stringEncodingName,
SdaiInvocationId *edmiInvocationId);
Arguments:
serverContextId |
Remote Server Context |
stringEncoding |
CHAR_ENCODING_UTF-8 |
stringEncodingName |
UTF-8 |
edmiInvocationId |
When the edmiInvocationId is specified, the actual operation will be asynchronous and a handle (identifier) of the call will be returned in the edmiInvocationId argument. |
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an _EDMinterface_ error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE