An open API service indexing awesome lists of open source software.

https://github.com/yaqinking/scripts

一些使用到的脚本
https://github.com/yaqinking/scripts

Last synced: 9 months ago
JSON representation

一些使用到的脚本

Awesome Lists containing this project

README

          

# 一些脚本工具

自己整理修改之后使用的一些脚本。

## perl
`gb2312-to-utf8.pl` 转换 GB2312 编码的文件到 UTF-8

`sjis-to-utf8.pl` 转换 Shift-JIS 编码的文件到 UTF-8

`utf16le-to-utf8.pl` 转换 UTF-16LE (UCS2) 编码的文件到 UTF-8

上面的是根据 jin1016 的这个 [gist](https://gist.github.com/jin1016/7958752) 修改来的。

## Python

`utf8_to_utf16le.py` 转换 UTF-8 编码的文件到 UTF-16LE

## bat

**因为需要手动再命令提示符里敲不推荐使用,用 Python script 转换吧**
~~[convert-utf8-utf16le.bat](https://gist.github.com/yaqinking/3f1c8eaacb3898fadd9e0b4c1e03f801) 转换 UTF-8 编码的文件到 UTF16-LE [来源](https://superuser.com/questions/69091/batch-change-encoding-ascii-files-from-utf-8-to-iso-8859-1)~~