summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 14:50:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 14:50:44 (GMT)
commit6776429ba14eaed4dcd9c6a3cf34945eecf6edc9 (patch)
tree154159210d2974e2d59214d667fa7cb8deafa60b /win/tclWinConsole.c
parent631c17942ee182c4f6c613d03b1ab591b749c01e (diff)
parent49a7184962b241204447d10cb9546f514237c344 (diff)
downloadtcl-6776429ba14eaed4dcd9c6a3cf34945eecf6edc9.zip
tcl-6776429ba14eaed4dcd9c6a3cf34945eecf6edc9.tar.gz
tcl-6776429ba14eaed4dcd9c6a3cf34945eecf6edc9.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 2555387..f1bb75c 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1380,7 +1380,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;
}