NWUXSetSubUni
Specifies the substitution character for the converter
#include <nunicode.h>
N_EXTERN_LIBRARY(nint) NWUXSetSubUni (
pCONVERT byteUniHandle,
Unicode subsituteUni);
uses netwin32
Function NWUXSetSubUni
(byteUniHandle : pCONVERT;
substituteUni : Unicode
): nint;
During a byte to Unicode conversion, the substitution character is written to the output buffer if an unmappable byte is found and the current NoMap byte action is set to NWU_SUBSTITUTE.
NWUXSetSubUni does not set the NoMap byte action to be followed to NWU_SUBSTITUTE. NoMap byte action must be set by calling the NWUXSetNoMapAction function.
See exssubu.c for sample code.