Encoding.Unicode Property
Gets an encoding for the Unicode format in little-endian byte order.
[Visual Basic] Public Shared ReadOnly Property Unicode As Encoding [C#] public static Encoding Unicode {get;} [C++] public: __property static Encoding* get_Unicode(); [JScript] public static function get Unicode() : Encoding;
Property Value
An encoding for the Unicode format in little-endian byte order.
Remarks
Unicode characters can be stored in two different byte orders: big-endian and little-endian. On little-endian platforms such as Intel machines, it is generally more efficient to store Unicode characters in little-endian byte order. However, many other platforms can store Unicode characters in big-endian byte order.
Unicode files can be distinguished by the presence of the byte order mark (U+FEFF), which is represented as hexadecimal 0xFE 0xFF on big-endian platforms and hexadecimal 0xFF 0xFE on little-endian platforms.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard