From 105fdf265b262a63949d425b4ee2d32d0d36416b Mon Sep 17 00:00:00 2001 From: dgp Date: Mon, 6 Jun 2011 17:38:35 +0000 Subject: Possible (untested, fragile) fix for Bug 2546087 committed for testing. --- generic/tkConsole.c | 4 ++-- 1 file 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); -- cgit v0.12