How to throw an exception if marshaling encounters an unmappable Unicode character that is converted to an ANSI character?
Set ThrowOnUnmappableChar = True
Set ThrowOnmappableChar = True
Set ThrowOnmappableChar = False
Set ThrowOnUnmappableChar = False