WSUnicodeContainerType (C Function)

is an enum type with four values: UCS2ContainerType, UTF8ContainerType, UTF16ContainerType, and UTF32ContainerType.

Details

  • WSUnicodeContainerType is used as an argument to WSNewUnicodeContainer() to declare to the function the type of Unicode string to use to create the WSUnicodeContainer object.
  • UCS2ContainerType indicates a container with a UCS-2 encoded string, UTF8ContainerType indicates a container with a UTF-8 encoded string, UTF16ContainerType indicates a container with a UTF-16 encoded string, and UTF32ContainerType indicates a container with a UTF-32 encoded string.
  • WSUnicodeContainerType is declared in the WSTP header file wstp.h.