MEMCONVERT

Start of changeMEMCONVERT 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.End of change

Read syntax diagramSkip visual syntax diagram
>>-MEMCONVERT(p,n,c,q,m,d-+----+-)-----------------------------><
                          '-,t-'     

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.
Start of changetEnd of change
Start of changeA character string or variable that names the technique to use in the conversion. t is of length 8 or less.End of change

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.






Published: 23 December 2018