Fixes for Tcl UTF8 character handling.