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