On 28/05/2012 05:13, Ben Collver wrote:
> In some situations, Tk displays an escape code instead of a Unicode
> character. Below are two example scripts to demonstrate the problem.
> This problem happens in Linux on Tk head from around April, but not
> in Tk 8.5.11.
[...]
> Both scripts work as expected in Tk 8.5.11.
>
> The elip1.tcl script works as expected in Tk head.
>
> The elip2.tcl script fails in Tk head. It displays an escape code
> instead of a left arrow. What would cause Tk head to do this?
Differences in font handling is the main suspect. Confirm by rechecking
the scripts with \uXXXX escape codes for the characters so that we can
know for sure that it's not the system encoding or anything irritating
like that.
The main possibility of difference is which font renderer Tk is built
against, i.e., if it is our old internal one versus the newer Xft one.
Donal.