summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 12:18:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 12:18:51 (GMT)
commit7d90738e3aaf986b5ad2da52cca16fa71b78473c (patch)
tree509d20138197bc2f632f1585230c0c64f642ec28
parentd92cffaa0cf757cfcd982b7b82199eb6149f2ad4 (diff)
downloadtcl-7d90738e3aaf986b5ad2da52cca16fa71b78473c.zip
tcl-7d90738e3aaf986b5ad2da52cca16fa71b78473c.tar.gz
tcl-7d90738e3aaf986b5ad2da52cca16fa71b78473c.tar.bz2
One more place where the (deprecated) "unicode" encoding was still used.
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index 09262c0..7de425b 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;
}