You must transcode character data from your code page to UTF-8 before placing the character data into the remote API buffer. Data will be returned to your Remote API client application bindings as UTF-8 strings.