turicas/rows

Autodetect encoding from CSV files

Open

#129 opened on Oct 20, 2015

 (5 comments) (0 reactions) (0 assignees)Python (136 forks)github user discovery
enhancementhelp wantedutils

Repository metrics

Stars
 (886 stars)
PR merge metrics
 (No merged PRs in 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.

Contributor guide