Back to index

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

Classes

class  IncrementalEncoder
class  IncrementalDecoder
class  StreamWriter
class  StreamReader

Functions

def decode
def getregentry

Variables

 encode = mbcs_encode
 Codec APIs.

Detailed Description

Python 'mbcs' Codec for Windows


Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py,
which was written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

Function Documentation

def encodings.mbcs.decode (   input,
  errors = 'strict' 
)

Definition at line 20 of file mbcs.py.

00020 
00021 def decode(input, errors='strict'):
00022     return mbcs_decode(input, errors, True)

Definition at line 38 of file mbcs.py.

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

Variable Documentation

encodings.mbcs.encode = mbcs_encode

Codec APIs.

Definition at line 18 of file mbcs.py.