Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加编码转换功能 #6

Open
zhenglinj opened this issue Feb 21, 2016 · 1 comment
Open

增加编码转换功能 #6

zhenglinj opened this issue Feb 21, 2016 · 1 comment

Comments

@zhenglinj
Copy link

改变Buffer内容编码。比如,Windows平台常用 GBK 编码,转换为 UTF8 显示
iconv -f gb2312 -t utf-8 content.txt

@gucong
Copy link
Owner

gucong commented Feb 21, 2016

I only work with UTF8. "cconv" can easily works with gbk or big5. Please adjust the "UTF8" in chinese-conv-cconv-command and chinese-conv-cconv-alist. Please see cconv -l. However, “opencc" need separate pre-/post-processing with iconv.

In the end, we need a systematic way of charset detection if we want to support non-UTF8. Pull request is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants