Back to index

python3.2  3.2.2
Classes | Functions
encodings.cp1252 Namespace Reference

Classes

class  Codec
 Codec APIs. More...
class  IncrementalEncoder
class  IncrementalDecoder
class  StreamWriter
class  StreamReader

Functions

def getregentry

Detailed Description

Python Character Mapping Codec cp1252 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT' with gencodec.py.

Function Documentation

Definition at line 33 of file cp1252.py.

00033 
00034 def getregentry():
00035     return codecs.CodecInfo(
00036         name='cp1252',
00037         encode=Codec().encode,
00038         decode=Codec().decode,
00039         incrementalencoder=IncrementalEncoder,
00040         incrementaldecoder=IncrementalDecoder,
00041         streamreader=StreamReader,
00042         streamwriter=StreamWriter,
00043     )
00044