Files
tools/recode/README.md
flt6 b4c04343e8 update README
1. update root README, pointer to all proj
2. create all README
Powered by claude code, maybe mistake, checked and commit manually.
2025-09-12 14:58:58 +08:00

36 lines
717 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# recode
文件编码转换器。
## 功能
检测并转换文本文件的字符编码格式支持UTF-8、GBK、GB2312等80多种编码格式之间的相互转换。
## 使用方法
```bash
python recode.py [选项] 文件名()
```
## 参数选项
- `-i` : 指定输入编码格式
- `-o` : 指定输出编码格式默认utf-8
- `-c` : 测试特定编码格式
- `-r` : 输出目录(默认:"out"
- `-s` : 显示所有支持的编码格式
## 支持的编码
支持80多种字符编码包括
- UTF-8, UTF-16, UTF-32
- GBK, GB2312, GB18030
- Big5, ASCII
- 各种ISO标准编码等
## 特性
- 自动编码检测
- 批量文件处理
- 广泛的编码支持
- 灵活的输出配置