Logo Search packages:      
Sourcecode: wapiti version File versions  Download package

BeautifulSoup::UnicodeDammit Class Reference

List of all members.


Detailed Description

A class for detecting the encoding of a *ML document and
converting it to a Unicode string. If the source encoding is
windows-1252, can replace MS smart quotes with their HTML or XML
equivalents.

Definition at line 1556 of file BeautifulSoup.py.


Public Member Functions

def __init__
def find_codec
def subMSChar

Public Attributes

 markup
 originalEncoding
 smartQuotesTo
 triedEncodings
 unicode

Static Public Attributes

dictionary CHARSET_ALIASES
 EBCDIC_TO_ASCII_MAP = None
dictionary MS_CHARS
tuple subMSChar = staticmethod(subMSChar)

Private Member Functions

def _codec
def _convertFrom
def _detectEncoding
def _ebcdic_to_ascii
def _toUnicode

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index