• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisión313ec58cdc49a69c4386a4aa18fb9bcd01155feb (tree)
Tiempo2007-03-03 03:56:27
Autorvimboss
Commitervimboss

Log Message

updated for version 7.0-206

Cambiar Resumen

Diferencia incremental

diff -r 183c3187b20d -r 313ec58cdc49 src/mbyte.c
--- a/src/mbyte.c Tue Feb 27 22:03:05 2007 +0000
+++ b/src/mbyte.c Fri Mar 02 18:56:27 2007 +0000
@@ -364,7 +364,6 @@
364364 {"949", IDX_CP949},
365365 {"936", IDX_CP936},
366366 {"gbk", IDX_CP936},
367- {"gb18030", IDX_CP936}, /* only 99% the same */
368367 {"950", IDX_CP950},
369368 {"eucjp", IDX_EUC_JP},
370369 {"unix-jis", IDX_EUC_JP},
diff -r 183c3187b20d -r 313ec58cdc49 src/option.c
--- a/src/option.c Tue Feb 27 22:03:05 2007 +0000
+++ b/src/option.c Fri Mar 02 18:56:27 2007 +0000
@@ -3290,6 +3290,14 @@
32903290 * If not, go back to the default "latin1". */
32913291 save_enc = p_enc;
32923292 p_enc = p;
3293+ if (STRCMP(p_enc, "gb18030") == 0)
3294+ {
3295+ /* We don't support "gb18030", but "cp936" is a good substitute
3296+ * for practical purposes, thus use that. It's not an alias to
3297+ * still support conversion between gb18030 and utf-8. */
3298+ p_enc = vim_strsave((char_u *)"cp936");
3299+ vim_free(p);
3300+ }
32933301 if (mb_init() == NULL)
32943302 {
32953303 opt_idx = findoption((char_u *)"encoding");
diff -r 183c3187b20d -r 313ec58cdc49 src/version.c
--- a/src/version.c Tue Feb 27 22:03:05 2007 +0000
+++ b/src/version.c Fri Mar 02 18:56:27 2007 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 206,
671+/**/
670672 205,
671673 /**/
672674 204,
Show on old repository browser