Camel.Charset

Fields

Name

Type

Access

Description

level

int

r/w

mask

int

r/w

Methods

class

best (in_)

class

iso_to_windows (isocharset)

best_name ()

init ()

step (in_)

Details

class Camel.Charset
classmethod best(in_)
Parameters:

in ([int]) – input text

Returns:

the minimum charset or None for US_ASCII.

Return type:

str or None

Finds the minimum charset for this string None means US-ASCII.

classmethod iso_to_windows(isocharset)
Parameters:

isocharset (str) – a canonicalised ISO charset

Returns:

the equivalent Windows charset.

Return type:

str

best_name()
Return type:

str

init()
step(in_)
Parameters:

in ([int]) – input text

Processes more input text with the self.