turicas/rows

Autodetect encoding from CSV files

开放

#129 创建于 2015年10月20日

 (5 条评论) (0 个反应) (0 位负责人)Python (136 个派生)github user discovery
enhancementhelp wantedutils

仓库指标

星标
 (886 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南