turicas/rows

Autodetect encoding from CSV files

Aperta

#129 aperta il 20 ott 2015

 (5 commenti) (0 reazioni) (0 assegnatari)Python (136 fork)github user discovery
enhancementhelp wantedutils

Metriche repository

Star
 (886 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

We are using rows in https://github.com/interlegis/interlegis.portalmodelo.transparency to import generic CSV files that users upload, but sometimes the tools used to generate the CSV are not pattern like and generates data with alien encondings, like MS Excel. We need to autodetec the encoding used in the files maybe using some lib as 'chardet' or the 'file' Linux command.

Guida contributor