D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib
/
python3.6
/
site-packages
/
bs4
/
__pycache__
/
Filename :
dammit.cpython-36.pyc
back
Copy
3 6]�t � @ s d Z dZddlZddlmZ ddlZddlZddlZdZyddl Z dd� Z W nF ek r� yddlZdd� Z W n ek r� dd� Z Y nX Y nX yddl Z W n ek r� Y nX ejd j� ej�Zejd j� ej�ZG dd� de�ZG d d� d�ZG dd� d�ZdS )aB Beautiful Soup bonus library: Unicode, Dammit This library converts a bytestream to Unicode through any means necessary. It is heavily based on code from Mark Pilgrim's Universal Feed Parser. It works best on XML and HTML, but it does not rewrite the XML or HTML to reflect a new encoding; that's the tree builder's job. ZMIT� N)�codepoint2namec C s t j| �d S )N�encoding)�cchardet�detect)�s� r �/usr/lib/python3.6/dammit.py�chardet_dammit s r c C s t j| �d S )Nr )�chardetr )r r r r r ! s c C s d S )Nr )r r r r r '