Re: [babel-devel] Submit a GBK patch
I suggest this for both GB2312 and GBK encoding (this 2 encodings are very important for Chinese users): http://trac.clozure.com/ccl/changeset/14911 I've tested this for CCL using the encoding tables and tests from GNU's iconv. Most babel code came from CCL. I think to integrated this for babel is easily and more suitable though it just only for CCL now. Best regards, Xiaofeng Yang 2011/12/21 levin <levin108@gmail.com>
HI,all
Days ago, I found this project babel, and tried to use it in my project, as I'm Chinese, I found it doesn't support GBK encoding in babel, so I wrote a patch for babel to make it support GBK.
I just used common lisp for not a long time, so if there was something not good enough, please let me know, I also hope you can accept this patch or help me modify it to make babel support GBK, so we can use it freely to process Chinese text.
Thanks.
-- levin twitter: @levin108 <http://twitter.com/levin108> blog: basiccoder.com
_______________________________________________ babel-devel mailing list babel-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/babel-devel
Yang and Wenpeng, On Thu, Dec 22, 2011 at 2:55 PM, Xiaofeng Yang <n.akr.akiiya@gmail.com> wrote:
I suggest this for both GB2312 and GBK encoding (this 2 encodings are very important for Chinese users):
I've pushed Wenpeng's patch to the main repository. Some of the bits in CCL's code do seem cleaner. It'd be nice to simplify Babel's version if any of you has the time. Thanks! -- Luís Oliveira http://r42.eu/~luis/
participants (2)
-
Luís Oliveira
-
Xiaofeng Yang