MEMCONVERT
MEMCONVERT converts the data in a source buffer from the specified source codepage to a specified target codepage, stores the result in a target buffer, and returns a size_t 1 value that indicates the number of bytes that are written to the target buffer. It will also take an optional parameter t that specifies the technique to use in the conversion.
- p
- Address of the target buffer.
- n
- Length of the target buffer.
- c
- Target code page.
- q
- Address of the source buffer.
- m
- Length of the source buffer.
- d
- Source code page.
- t
- A character string or variable that names the technique to use in the conversion. t is of length 8 or less.
The buffer lengths must be nonnegative and must have a computational type. The buffer lengths are converted to type size_t.
If either buffer length is zero, the result is zero.
The code page must have a computational type and is converted to type FIXED BINARY (31,0). The code page must specify a valid, supported code page.