文件编码识别和转换工具 Python CoCo

码农软件 · 软件分类 · 常用工具包 · 2019-08-14 07:14:20

软件介绍

CoCo(Code Convert) 是一个简单的文件编码识别和转换的命令行工具,使用python编写,具有很好的跨平台特性。

安装

$ pip install cocov
或者源码安装
$ git clone git@github.com:buptmiao/CoCo.git  
$ cd CoCo
$ python setup.py install

使用方式

1. 识别文件编码

$ coco -i foo.csv
foo.csv utf-8

$ coco -i foo.csv bar.csv
foo.csv utf-8
bar.csv gb2312

2. 转换文件编码

$ coco -i foo.csv
foo.csv utf-8

$ coco -o gb2312 foo.csv bar.csv

$ coco -i bar.csv
bar.csv gb2312

$ coco -o utf-8 bar.csv utf.csv

$ coco -i bar.csv utf.csv
bar.csv gb2312
utf.csv utf-8

本文地址:https://www.codercto.com/soft/d/12321.html

Distributed Algorithms

Distributed Algorithms

Wan Fokkink / The MIT Press / 2013-12-6 / USD 40.00

This book offers students and researchers a guide to distributed algorithms that emphasizes examples and exercises rather than the intricacies of mathematical models. It avoids mathematical argumentat......一起来看看 《Distributed Algorithms》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具