Tcl 8.4.5 (with fixes for 462317 and 923474)
Solaris 10 Japanese and Korean UTF-8 fonts
Problem: Expect is used extensively to send commands to another csh. Commands vary in length and some contain Japanese UTF-8 characters. Our sends hang after repeated execution (~150). It appears that send thinks there is more data and is waiting. The command is never executed.
There seems to be an interplay between the command length (send length) and the behavior. The Korean file contains 5090 characters and may or may not be fully processed depending on the overall command length ( send "$cmd\r" ). Restarting the shell seems to help clean up the problem but does not fix it.
I'm attaching a tar file containing Japanese and Korean UTF-8 language file and some code that produces the hang on my system.
I run the desktop in UTF-8.