A lightweight, efficient tool to recursively convert text files from Big5 (Traditional Chinese) encoding to GB2312 (Simplified Chinese) encoding. This repository provides both a high-performance C implementation and a flexible Python implementation to suit different environment needs.
- Recursive Conversion: Automatically traverses subfolders to convert all files in bulk.
- Dual Implementations: Includes both C (optimized for speed) and Python (optimized for cross-platform ease of use).
- Detailed Logging: Generates a comprehensive convert.log file to track the conversion process, successful files, and any errors.
C Version:
- Compile the C code:
gcc -o convert convert.c
- Run the executable:
./convert <source_folder> <destination_folder>