source: trunk/essentials/dev-lang/python/Doc/lib/emailcharsets.tex@ 3368

Last change on this file since 3368 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 9.5 KB
Line 
1\declaremodule{standard}{email.charset}
2\modulesynopsis{Character Sets}
3
4This module provides a class \class{Charset} for representing
5character sets and character set conversions in email messages, as
6well as a character set registry and several convenience methods for
7manipulating this registry. Instances of \class{Charset} are used in
8several other modules within the \module{email} package.
9
10Import this class from the \module{email.charset} module.
11
12\versionadded{2.2.2}
13
14\begin{classdesc}{Charset}{\optional{input_charset}}
15Map character sets to their email properties.
16
17This class provides information about the requirements imposed on
18email for a specific character set. It also provides convenience
19routines for converting between character sets, given the availability
20of the applicable codecs. Given a character set, it will do its best