Dart.Emulation Namespace > Vt Class : Encoding Property |
Public Property Encoding As Encoding
public Encoding Encoding {get; set;}
When a value other than Encoding.ASCII is used, the Write(Byte[]) method (except the string overload) will decode multibyte data using this encoding. This property provides for the displaying of any Unicode character.
No decoding is attempted when Encoding is set to the default Encoding.ASCII value. Instead, 7- or 8-bit values are used directly.
A remote host may encode characters as multibyte representations. To decode these characters, the display must know what encoding was used; this is where the Encoding property comes into play. With the appropriate Encoding setting, data will be decoded to a sequence of unicode values. When a font supporting the character set is used, the correct visual representations (glyphs) of these unicode characters will be displayed.