NWUXGetCharSize
Returns the character size (1 or 2) of the next character in the specified byte string
#include <nunicode.h> N_EXTERN_LIBRARY(nint) NWUXGetCharSize ( pCONVERT byteUniHandle, const unicode N_FAR *byteInput, pnuint charSize);
uses netwin32 Function NWUXGetCharSize (byteUniHandle : pCONVERT; byteInput : const unicode; charSize : pnuint ): nint;
NWUXGetCharSize is provided so that user-written Scan and Parse functions are able to examine a byte string.
NOTE:NWCharType (Internationalization) interprets the specified character according to the native system codepage. NWUXGetCharSize uses the codepage of the specified converter.
See excharsz.c for sample code.