patch 7.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)
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index b3cd34c..48793a9 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -7396,14 +7396,12 @@
the GUI it only applies to the keyboard ( 'encoding' is used for the
display). Except for the Mac when 'macatsui' is off, then
'termencoding' should be "macroman".
- In the Win32 console version the default value is the console codepage
- when it differs from the ANSI codepage.
*E617*
Note: This does not apply to the GTK+ 2 GUI. After the GUI has been
successfully initialized, 'termencoding' is forcibly set to "utf-8".
Any attempts to set a different value will be rejected, and an error
message is shown.
- For the Win32 GUI 'termencoding' is not used for typed characters,
+ For the Win32 GUI and console versions 'termencoding' is not used,
because the Win32 system always passes Unicode characters.
When empty, the same encoding is used as for the 'encoding' option.
This is the normal value.