CharacterEncodingSimple

Description

[ShutdownSurvive]
abstract class Tinman.Core.Formatting.CharacterEncodingSimple

Derived from

CharacterEncoding abstract

A character encoding that maps Unicode characters to 8-bit codes.

Public / Methods

Decode​Character


public abstract method DecodeCharacter → (1)

code in : int32

The simple 8-bit code.

returns → char

The unicode character.

Decodes a single unicode character.

Encode​Character


public abstract method EncodeCharacter → (1)

character in : char

The character to encode.

returns → int32

The simple 8-bit code.

Encodes the given unicode character.

Characters that cannot be encoded will be replaced with '?'.

Public / Attributes

ASCII


public static readonly attribute ASCII → (CharacterEncodingSimple)

Character encoding US-ASCII (7-bit).

Cp437


public static readonly attribute Cp437 → (CharacterEncodingSimple)

Character encoding CP437 (8-bit).

This is the character set of the famous VGA BIOS font, featuring the legendary box drawing characters.

ISO_8859_1


public static readonly attribute ISO_8859_1 → (CharacterEncodingSimple)

Character encoding ISO-8859-1 (8-bit).