Home | History | Annotate | Download | only in bs4

Lines Matching refs:Unicode

2 """Beautiful Soup bonus library: Unicode, Dammit
4 This library converts a bytestream to Unicode through any means
181 """Replace certain Unicode characters with named HTML entities.
316 converting it to a Unicode string. If the source encoding is
342 # Short-circuit if the data is in Unicode to begin with.
343 if isinstance(markup, unicode) or markup == '':
345 self.unicode_markup = unicode(markup)
426 '''Given a string and its encoding, decodes the string into Unicode.
428 return unicode(data, encoding, errors)
776 the document to Unicode, you're too late.