Skip to content
galileochinaPublic

About

Big5 to GB2312 File Converter 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.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Big5 to GB2312 File Converter

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.

Features

  • 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.

Usage

C Version:

  1. Compile the C code:
    gcc -o convert convert.c
    
  2. Run the executable:
    ./convert <source_folder> <destination_folder>
    

About

Big5 to GB2312 File Converter 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.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages