Raxol.Terminal.ANSI.CharacterSets.Translator (Raxol v2.0.1)

View Source

Handles character set translations and mappings.

Summary

Functions

Translates a character using the active character set (2-parameter version). Returns a tuple of {translated_char, new_charset_state}.

Translates a character using the active character set.

Translates a string using the specified character set and single shift. 3-parameter version for direct translation.

Functions

translate_char(codepoint, state)

Translates a character using the active character set (2-parameter version). Returns a tuple of {translated_char, new_charset_state}.

translate_char(codepoint, active_set, single_shift)

Translates a character using the active character set.

translate_string(string, charset, single_shift)

Translates a string using the specified character set and single shift. 3-parameter version for direct translation.