Module codeset

Module codeset 

Source
Expand description

Character sets registered with IANA.

These are the official names for character sets that may be used in the Internet and may be referred to in Internet documentation. These names are expressed in ANSI_X3.4-1968 which is commonly called US-ASCII or simply ASCII. The character set most commonly use in the Internet and used especially in protocol standards is US-ASCII, this is strongly encouraged. The use of the name US-ASCII is also encouraged.

§Source - IANA

The data used here is taken from the tables in the html page IANA.

See also: RFC-2978 IANA Charset Registration Procedures.

Structs§

CodesetInfo
A representation of registrered character set data that maintained by IANA.

Functions§

all_names
Return all the registered script names.
lookup
Lookup a CodesetInfo based on it’s name, returning None if the name does not exist in the current IANA data set.