From: Alecs K. <al...@pe...> - 2005-06-30 17:33:00
|
On Fri, Jul 01, 2005 at 03:30:26AM +1200, Carlos Z.F. Liu wrote: > In GBK environment, users can get GBK support for vim by "enc=cp936". > It works in both *nix and windows. But if you search on internet, most > documents and tutorials suggest only "euc-cn". At least in mbyte.txt: >2 cp936 simplified Chinese (Windows only) >2 euc-cn simplified Chinese (Unix only) >... >2 2byte-{name} Unix: any double-byte encoding (Vim specific name) So i think the rite/safe/official way to use GBK on Unix is to set enc=2byte-gbk. Vim will strip the leading '2byte-' and then pass 'gbk' to iconv_open(). Tested. Worked fine. Anyway, too many ppl are using euc-cn, so it's better to always keep our docs enc-cn friendly. -- Alecs King |