MEMCU12 converts the data in a source buffer from UTF-8 to UTF-16, 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.
>>-MEMCU12--(--p--,--n--,--q--,--m--)--------------------------><
The buffer lengths must be nonnegative and must have a computational type. The buffer lengths are converted to type size_t.
If the target buffer is too small or if the source UTF-8 is invalid, a value of -1 is returned.