Giter Site home page Giter Site logo

song-yu / hanzconvert Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cdfmr/hanzconvert

1.0 2.0 0.0 1.13 MB

A utility to convert Chinese text files between UTF-8, GB18030 and BIG-5 encodings.

License: GNU General Public License v2.0

Objective-C 11.15% C 2.15% C++ 86.70%

hanzconvert's Introduction

HanzConvert

汉字编码转换是一个批量转换中文文本编码与简繁体的小工具。支持UTF-8、GB18030、BIG-5三种编码之间的互相转换,可自动检测源文件的编码,并可指定输出文本采用简体或繁体字符(BIG-5只能支持繁体字符)。程序使用的简繁转换引擎基于词语而非单字,因而能够有效提高简繁转换的准确率。

下载

Mac App Store

使用方法

  1. 点击添加文件、添加目录按钮,或使用拖曳方式选择源文件;
  2. 设定输入输出编码、简繁转换,选择输出目录;
  3. 点击转换按钮开始处理。

常见问题

程序无法检测某些文件的编码
请手工指定文件编码后转换,或尝试在偏好设置中调低检测引擎的最低可信度(不建议,可能导致编码判断错误)。

转换结果呈现乱码
请检查输入编码选择是否与源文件实际编码一致。

转换结果丢失部分字符
一般出现在输出编码为BIG-5时,因字符集有限从而导致部分字符丢失,如果没有特殊需求,尽量不要采用BIG-5作为输出编码。

转换失败
请检查输入编码选择是否与源文件实际编码一致,以及是否具有输出目录的写入权限。

如何转换非TXT扩展名的文件
在偏好设置中,添加需要处理的文件扩展名,如“txt, htm, html”。

如何在添加目录时递归搜索子目录下的所有文件
在偏好设置中,勾选“添加目录时递归搜索其子目录”。

hanzconvert's People

Contributors

cdfmr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.