lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
e1b2782
To: vim-dev@vim.org
e1b2782
Subject: Patch 7.0.058
e1b2782
Fcc: outbox
e1b2782
From: Bram Moolenaar <Bram@moolenaar.net>
e1b2782
Mime-Version: 1.0
e1b2782
Content-Type: text/plain; charset=ISO-8859-1
e1b2782
Content-Transfer-Encoding: 8bit
e1b2782
------------
e1b2782
e1b2782
Patch 7.0.058
e1b2782
Problem:    The gbk and and gb18030 encodings are not recognized.
e1b2782
Solution:   Add aliases to cp936. (Edward L. Fox)
e1b2782
Files:	    src/mbyte.c
e1b2782
e1b2782
e1b2782
*** ../vim-7.0.057/src/mbyte.c	Sat May 13 17:10:00 2006
e1b2782
--- src/mbyte.c	Sat Aug 12 22:59:55 2006
e1b2782
***************
e1b2782
*** 363,368 ****
e1b2782
--- 363,370 ----
e1b2782
      {"932",		IDX_CP932},
e1b2782
      {"949",		IDX_CP949},
e1b2782
      {"936",		IDX_CP936},
e1b2782
+     {"gbk",		IDX_CP936},
e1b2782
+     {"gb18030",		IDX_CP936},	/* only 99% the same */
e1b2782
      {"950",		IDX_CP950},
e1b2782
      {"eucjp",		IDX_EUC_JP},
e1b2782
      {"unix-jis",	IDX_EUC_JP},
e1b2782
*** ../vim-7.0.057/src/version.c	Wed Aug 16 17:36:21 2006
e1b2782
--- src/version.c	Wed Aug 16 18:04:14 2006
e1b2782
***************
e1b2782
*** 668,669 ****
e1b2782
--- 668,671 ----
e1b2782
  {   /* Add new patch number below this line */
e1b2782
+ /**/
e1b2782
+     58,
e1b2782
  /**/
e1b2782
e1b2782
-- 
e1b2782
hundred-and-one symptoms of being an internet addict:
e1b2782
162. You go outside and look for a brightness knob to turn down the sun.
e1b2782
e1b2782
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
e1b2782
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
e1b2782
\\\        download, build and distribute -- http://www.A-A-P.org        ///
e1b2782
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///