Back to index

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


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


def getregentry


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

    Based on data from (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

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

Encoding Map.

Definition at line 152 of file