class documentation

class CodePage(StrEnum): (source)

Constructor: CodePage.from_language(lang)

View In Hierarchy

Maps engine code page names.

Class Method from_language Get the default codepage for a given language.
Constant CP1250 Undocumented
Constant CP1251 Undocumented
Constant CP1252 Undocumented
@classmethod
def from_language(cls, lang: Language) -> CodePage: (source)

Get the default codepage for a given language.

Parameters
lang:LanguageThe Language enum.
Returns
CodePageThe corresponding CodePage enum.
Raises
ValueErrorIf the language is unknown.
CP1250: str = (source)

Undocumented

Value
'cp1250'
CP1251: str = (source)

Undocumented

Value
'cp1251'
CP1252: str = (source)

Undocumented

Value
'cp1252'