summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-06-06 17:38:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-06-06 17:38:35 (GMT)
commit105fdf265b262a63949d425b4ee2d32d0d36416b (patch)
tree23131e400761ba3b8a7a28578a505f9ae6a2bbd0
parent04526fe293b1b59c39461441d8c3ac06218ad187 (diff)
downloadtk-105fdf265b262a63949d425b4ee2d32d0d36416b.zip
tk-105fdf265b262a63949d425b4ee2d32d0d36416b.tar.gz
tk-105fdf265b262a63949d425b4ee2d32d0d36416b.tar.bz2
Possible (untested, fragile) fix for Bug 2546087 committed for testing.
-rw-r--r--generic/tkConsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index bdf6ccd..ae8e1a9 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -298,7 +298,7 @@ Tk_InitConsoleChannels(
Tcl_SetChannelOption(NULL, consoleChannel,
"-buffering", "none");
Tcl_SetChannelOption(NULL, consoleChannel,
- "-encoding", "utf-8");
+ "-encoding", "identity");
}
Tcl_SetStdChannel(consoleChannel, TCL_STDOUT);
Tcl_RegisterChannel(NULL, consoleChannel);
@@ -317,7 +317,7 @@ Tk_InitConsoleChannels(
Tcl_SetChannelOption(NULL, consoleChannel,
"-buffering", "none");
Tcl_SetChannelOption(NULL, consoleChannel,
- "-encoding", "utf-8");
+ "-encoding", "identity");
}
Tcl_SetStdChannel(consoleChannel, TCL_STDERR);
Tcl_RegisterChannel(NULL, consoleChannel);