OpenQuizz
Une application de gestion des contenus pédagogiques
pip._internal.utils.encoding Namespace Reference

Functions

def auto_decode (data)
 

Variables

 BOMS
 
 ENCODING_RE
 

Function Documentation

◆ auto_decode()

def pip._internal.utils.encoding.auto_decode (   data)
Check a bytes string for a BOM to correctly detect the encoding

Fallback to locale.getpreferredencoding(False) like open() on Python3

Variable Documentation

◆ BOMS

BOMS

◆ ENCODING_RE

ENCODING_RE