codecs.pifonts
This module includes codecs implementing special handling for symbol fonts.
Classes
_class Cp042IncrementalDecoder(IncrementalDecoder)
Decoder for Windows code page 42 (GDI Symbol), and base class for symbol font decoders.
This maps characters to PUA with the low 8 bits matching the original byte encoding, similarly to x-user-defined
, but using a different PUA range and including all non-C0 bytes, not only non-ASCII bytes.
_Cp042IncrementalDecoder.decode(data,final)
Implements IncrementalDecoder.decode
_class Cp042IncrementalEncoder(IncrementalEncoder)
Encoder for Windows code page 42 (GDI Symbol), and base class for symbol font encoders.
This maps characters to PUA with the low 8 bits matching the original byte encoding, similarly to x-user-defined
, but using a different PUA range and including all non-C0 bytes, not only non-ASCII bytes.
_Cp042IncrementalEncoder.encode(string,final)
Implements IncrementalEncoder.encode