WS_CHARSET enumeration (webservices.h)

Identifies the character set of a document.

Syntax

typedef enum {
  WS_CHARSET_AUTO = 0,
  WS_CHARSET_UTF8 = 1,
  WS_CHARSET_UTF16LE = 2,
  WS_CHARSET_UTF16BE = 3
} WS_CHARSET;

Constants

 
WS_CHARSET_AUTO
Value: 0
Specifies that the charset of a document should be determined automatically by inspecting
the BOM (Byte Order Marks) of the document and the xml declaration if present.
WS_CHARSET_UTF8
Value: 1
Specifies that the charset of a document is UTF-8.
WS_CHARSET_UTF16LE
Value: 2
Specifies that the charset of a document is UTF-16LE.
WS_CHARSET_UTF16BE
Value: 3
Specifies that the charset of a document is UTF-16BE.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h