Back to index

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

Classes

class  IncrementalEncoder
class  IncrementalDecoder
class  StreamWriter
class  StreamReader

Functions

def decode
def getregentry

Variables

 encode = codecs.utf_8_encode
 Codec APIs.

Detailed Description

Python 'utf-8' Codec


Written by Marc-Andre Lemburg (mal@lemburg.com).

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

Function Documentation

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

Definition at line 15 of file utf_8.py.

00015 
00016 def decode(input, errors='strict'):
00017     return codecs.utf_8_decode(input, errors, True)

Definition at line 33 of file utf_8.py.

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

Variable Documentation

Codec APIs.

Definition at line 13 of file utf_8.py.