0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.4.589

Problem:    In the MS-Windows console Vim can't handle greek characters when
            encoding is utf-8.
Solution:   Escape K_NUL. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2015-01-20 19:39:35 +01:00
parent 4bde00c595
commit 1ec4dd41de
2 changed files with 13 additions and 7 deletions

View File

@@ -1814,6 +1814,9 @@ mch_inchar(
if (conv)
{
char_u *p = typeahead + typeaheadlen;
if (*p != K_NUL)
{
char_u *e = typeahead + TYPEAHEADLEN;
while (*p && p < e)
@@ -1828,6 +1831,7 @@ mch_inchar(
++p;
}
}
}
/* Use the ALT key to set the 8th bit of the character
* when it's one byte, the 8th bit isn't set yet and not

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
589,
/**/
588,
/**/