Back to index

python3.2  3.2.2
Classes | Functions | Variables
encodings.mac_farsi Namespace Reference

Classes

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

Functions

def getregentry

Variables

tuple decoding_table
 Decoding Table.
tuple encoding_table = codecs.charmap_build(decoding_table)
 Encoding table.

Detailed Description

Python Character Mapping Codec mac_farsi generated from 'MAPPINGS/VENDORS/APPLE/FARSI.TXT' with gencodec.py.

Function Documentation

Definition at line 33 of file mac_farsi.py.

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


Variable Documentation

Decoding Table.

Definition at line 47 of file mac_farsi.py.

Encoding table.

Definition at line 307 of file mac_farsi.py.