Jonathan,
I applied your patch #43 but it resolves only one half of the problem. Special non US characters now are output correctly, but if I enter them in a form's input field they become corrupted after receiving them in a TCL script.
Claudio Pasolini