Unicode​Encoding Unicode​Encoding Unicode​Encoding Unicode​Encoding Enum

Definition

Specifies the type of character encoding for a stream.

public : enum class UnicodeEncodingpublic enum UnicodeEncodingPublic Enum UnicodeEncoding// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Utf16BE Utf16BE Utf16BE Utf16BE

The encoding is UTF-16, with the most significant byte first in the two eight-bit bytes.

Utf16LE Utf16LE Utf16LE Utf16LE

The encoding is UTF-16, with the least significant byte first in the two eight-bit bytes.

Utf8 Utf8 Utf8 Utf8

The encoding is UTF-8.