Back to index

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

Classes

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

Functions

def getregentry

Variables

tuple decoding_map = codecs.make_identity_dict(range(256))
 Decoding Map.
tuple encoding_map = codecs.make_encoding_map(decoding_map)
 Encoding Map.

Detailed Description

Python Character Mapping Codec generated from 'hp_roman8.txt' with gencodec.py.

    Based on data from ftp://dkuug.dk/i18n/charmaps/HP-ROMAN8 (Keld Simonsen)

    Original source: LaserJet IIP Printer User's Manual HP part no
    33471-90901, Hewlet-Packard, June 1989.

Function Documentation

Definition at line 38 of file hp_roman8.py.

00038 
00039 def getregentry():
00040     return codecs.CodecInfo(
00041         name='hp-roman8',
00042         encode=Codec().encode,
00043         decode=Codec().decode,
00044         incrementalencoder=IncrementalEncoder,
00045         incrementaldecoder=IncrementalDecoder,
00046         streamwriter=StreamWriter,
00047         streamreader=StreamReader,
00048     )


Variable Documentation

Decoding Map.

Definition at line 51 of file hp_roman8.py.

Encoding Map.

Definition at line 152 of file hp_roman8.py.