diff options
author | dgp <dgp@users.sourceforge.net> | 2011-06-06 17:38:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-06-06 17:38:35 (GMT) |
commit | 105fdf265b262a63949d425b4ee2d32d0d36416b (patch) | |
tree | 23131e400761ba3b8a7a28578a505f9ae6a2bbd0 | |
parent | 04526fe293b1b59c39461441d8c3ac06218ad187 (diff) | |
download | tk-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.c | 4 |
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); |