summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 15:20:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 15:20:49 (GMT)
commit14b5289e4aa4945dd080d1d3d2dad7f54537eec8 (patch)
tree8f683aa0cbf8062ba81931b49f3731abbccd0a8f /win/tclWinConsole.c
parentbb09dba8c07eb42beccc0249f53dc2ca25bb01ed (diff)
parent49a7184962b241204447d10cb9546f514237c344 (diff)
downloadtcl-14b5289e4aa4945dd080d1d3d2dad7f54537eec8.zip
tcl-14b5289e4aa4945dd080d1d3d2dad7f54537eec8.tar.gz
tcl-14b5289e4aa4945dd080d1d3d2dad7f54537eec8.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index dbec52b..9ba2ea0 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1388,7 +1388,7 @@ TclWinOpenConsoleChannel(
Tcl_SetChannelOption(NULL, infoPtr->channel, "-translation", "auto");
Tcl_SetChannelOption(NULL, infoPtr->channel, "-eofchar", "\032 {}");
- Tcl_SetChannelOption(NULL, infoPtr->channel, "-encoding", "unicode");
+ Tcl_SetChannelOption(NULL, infoPtr->channel, "-encoding", "utf-16");
return infoPtr->channel;
}