turicas/rows

Autodetect encoding from CSV files

Ouverte

#129 ouverte le 20 oct. 2015

 (5 commentaires) (0 réaction) (0 personne assignée)Python (136 forks)github user discovery
enhancementhelp wantedutils

Métriques du dépôt

Stars
 (886 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur