Tepl.Encoding

Fields

Name

Type

Access

Description

vtable

Tepl.EncodingVtable

r/w

the Tepl.EncodingVtable of the object.

Methods

get_category_name ()

get_name ()

Details

class Tepl.Encoding

To implement the Tepl.Encoding interface.

Don’t access the fields of this struct unless you are writing a class that implements this interface.

New in version 6.4.

get_category_name()
Returns:

the category name of the Tepl.Encoding, or None.

Return type:

str or None

Tepl.Encoding's are grouped into several categories, such as “Unicode” or “Western”.

This function returns the category name of the Tepl.Encoding, or None if the category is unknown.

The returned string is localized (i.e., already translated).

New in version 6.4.

get_name()
Returns:

the name of the Tepl.Encoding.

Return type:

str

Gets the name of the Tepl.Encoding, such as “UTF-8”.

New in version 6.4.