diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-09-01 20:31:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-09-01 20:31:20 +0200 |
commit | ac360bf2ca293735fc7c6654dc2b3066f4c62488 (patch) | |
tree | 904bdc8a17cf04f957ddf3a4408aeeacc8cb6f5b /src/ui.c | |
parent | 615942452eb74eee7d8386fd3d76a1534181fa06 (diff) | |
download | vim-git-ac360bf2ca293735fc7c6654dc2b3066f4c62488.tar.gz |
patch 7.4.852v7.4.852
Problem: On MS-Windows console Vim uses ANSI APIs for keyboard input and
console output, it cannot input/output Unicode characters.
Solution: Use Unicode APIs for console I/O. (Ken Takata, Yasuhiro Matsumoto)
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ ui_write(s, len) /* Don't output anything in silent mode ("ex -s") unless 'verbose' set */ if (!(silent_mode && p_verbose == 0)) { -#ifdef FEAT_MBYTE +#if defined(FEAT_MBYTE) && !defined(WIN3264) char_u *tofree = NULL; if (output_conv.vc_type != CONV_NONE) @@ -56,7 +56,7 @@ ui_write(s, len) mch_write(s, len); -#ifdef FEAT_MBYTE +#if defined(FEAT_MBYTE) && !defined(WIN3264) if (output_conv.vc_type != CONV_NONE) vim_free(tofree); #endif |