OpenQuizz
Une application de gestion des contenus pédagogiques
pip._vendor.chardet Namespace Reference

Namespaces

 big5freq
 
 big5prober
 
 chardistribution
 
 charsetgroupprober
 
 charsetprober
 
 cli
 
 codingstatemachine
 
 compat
 
 cp949prober
 
 enums
 
 escprober
 
 escsm
 
 eucjpprober
 
 euckrfreq
 
 euckrprober
 
 euctwfreq
 
 euctwprober
 
 gb2312freq
 
 gb2312prober
 
 hebrewprober
 
 jisfreq
 
 jpcntx
 
 langbulgarianmodel
 
 langgreekmodel
 
 langhebrewmodel
 
 langhungarianmodel
 
 langrussianmodel
 
 langthaimodel
 
 langturkishmodel
 
 latin1prober
 
 mbcharsetprober
 
 mbcsgroupprober
 
 mbcssm
 
 
 sbcharsetprober
 
 sbcsgroupprober
 
 sjisprober
 
 universaldetector
 
 utf8prober
 
 version
 

Functions

def detect (byte_str)
 
def detect_all (byte_str)
 

Function Documentation

◆ detect()

def pip._vendor.chardet.detect (   byte_str)
Detect the encoding of the given byte string.

:param byte_str:     The byte sequence to examine.
:type byte_str:      ``bytes`` or ``bytearray``

◆ detect_all()

def pip._vendor.chardet.detect_all (   byte_str)
Detect all the possible encodings of the given byte string.

:param byte_str:     The byte sequence to examine.
:type byte_str:      ``bytes`` or ``bytearray``