Problem moving from 8.1 to 8.4.5

From: Anil Patro (anilash_at_flashmail.com)
Date: 07/24/04


Date: 24 Jul 2004 14:31:01 -0700

We recently switched our tcl/tk based application from version 8.1 to
8.4.5. Everything works fine except for sending text from the C API to
the tcl/tk frontend. For example:
>From C:
void appGetString(...)
{
   char text[30];
   sprintf(text, "Blah Blah Blah %s", variable);
   Tcl_SetResult(interp, text, TCL_STATIC);
   return TCL_OK;
}
>From tcl:
puts [appGetString]

gives some weird characters on the output as also for the tk text
widgets and main window title. I am guessing this might be related to
Unicode extensions in the newer version. Can somebody help me out?

Thanks.