Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions
encodings.utf_8_sig Namespace Reference

Classes

class  IncrementalEncoder
 
class  IncrementalDecoder
 
class  StreamWriter
 
class  StreamReader
 

Functions

def encode
 Codec APIs. More...
 
def decode
 
def getregentry
 

Detailed Description

Python 'utf-8-sig' Codec
This work similar to UTF-8 with the following changes:

* On encoding/writing a UTF-8 encoded BOM will be prepended/written as the
  first three bytes.

* On decoding/reading if the first three bytes are a UTF-8 encoded BOM, these
  bytes will be skipped.

Function Documentation

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

Codec APIs.

def encodings.utf_8_sig.getregentry ( )

Copyright 2014 Google Inc. All rights reserved.