edmiRemoteConvertString


 

EdmiError edmiRemoteConvertString(SdaiServerContext    serverContextId,
                                   SdaiString           inputString,
                                   SdaiInteger          inputStringEncoding,
                                   SdaiString           *convertedString,
                                   SdaiInteger          convertedStringEncoding,
                                   SdaiBoolean          *anyChanges,
                                   SdaiInvocationId     *edmiInvocationId)

This function will convert a given string, inputString, from one encoding style,inputStringEncoding, to another encoding style,convertedStringEncoding.

Arguments


1TypeNameComment
2 SdaiServerContext

serverContextId

Remote server context

3 SdaiString

inputString

input string

4 SdaiInteger

inputStringEncoding

valid input:  
CHAR_ENCODING_UTF-8
CHAR_ENCODING_UTF-16
CHAR_ENCODING_ISO-10646-UCS-2
CHAR_ENCODING_ISO-10646-UCS-4
CHAR_ENCODING_ISO-LATIN-1
CHAR_ENCODING_ISO-LATIN-2
CHAR_ENCODING_ISO-8859-3
CHAR_ENCODING_ISO-8859-4
CHAR_ENCODING_ISO-8859-5
CHAR_ENCODING_ISO-8859-6
CHAR_ENCODING_ISO-8859-7
CHAR_ENCODING_ISO-8859-8
CHAR_ENCODING_ISO-8859-9
CHAR_ENCODING_ISO-2022-JP
CHAR_ENCODING_SHIFT_JIS
CHAR_ENCODING_EUC-JP

5 SdaiString

convertedString

converted string

6 SdaiInteger

convertedStringEncoding

valid input:  
CHAR_ENCODING_UTF-8
CHAR_ENCODING_UTF-16
CHAR_ENCODING_ISO-10646-UCS-2
CHAR_ENCODING_ISO-10646-UCS-4
CHAR_ENCODING_ISO-LATIN-1
CHAR_ENCODING_ISO-LATIN-2
CHAR_ENCODING_ISO-8859-3
CHAR_ENCODING_ISO-8859-4
CHAR_ENCODING_ISO-8859-5
CHAR_ENCODING_ISO-8859-6
CHAR_ENCODING_ISO-8859-7
CHAR_ENCODING_ISO-8859-8
CHAR_ENCODING_ISO-8859-9
CHAR_ENCODING_ISO-2022-JP
CHAR_ENCODING_SHIFT_JIS
CHAR_ENCODING_EUC-JP

7 SdaiBoolean

anyChanges

When at least one character in the "inputString" is changed during the conversion, the "anyChanges" argument is set to sdaiTRUE, else the argument is set to sdaiFALSE.

8 SdaiInvocationId

edmiInvocationId

Not yet used. When the edmiInvocationId is specified unequal NULL, the actual operation will be asynchronous and a handle (identifier) of the call will be returned in the edmiInvocationId argument.
This handle can be used in later operations for requesting the status (waiting, running, finished ..) and the result of the actual operation.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 

 

See also

Filter by label

There are no items with the selected labels at this time.

 


Â