Function Codes Ciphers Class

BaudotDecode

Converts a string from Baudot code into the corresponding ANSI Windows character string.

Signature (Visual Basic / VBA)

Public Function BaudotDecode( _
    ByVal vValue As Variant _
    ) As Variant

Code Example

    BaudotDecode(Chr$(31) + Chr$(3) + Chr$(7) + Chr$(27) + Chr$(10)) = "AV4"

Parameters

Parameter Description
vValue String which is to be converted from the Baudot character set to the ANSI Windows character set. Function returns Null if vValue is Null or cannot be fixed up to a String.

Notes & Version History

Summary Baudot is a five-bit code capable of representing capital letters, numbers, and certain punctuation characters defined as International Telegraph Alphabet #2.
Note Use the BaudotEncodeSample Sub to illustrate the ANSI Windows characters supported by the Baudot code.
Note Characters within string vValue which are not valid within Baudot codes will be ignored. One character in the Baudot represents "letters" mode in which the following characters are interpreted as letters, and there is a "figures" mode in which the following characters are interpreted as numbers or punctuation. This algorithm uses a "letters" or "figures" character to introduce each encoded string, instead of assuming that the decoding "machine" will be in a specific mode.