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
blog: basiccoder.com


_______________________________________________
babel-devel mailing list
babel-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/babel-devel