turicas/rows

Autodetect encoding from CSV files

Aberta

#129 aberto em 20 de out. de 2015

 (5 comentários) (0 reação) (0 responsável)Python (136 forks)github user discovery
enhancementhelp wantedutils

Métricas do repositório

Stars
 (886 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador