Doesn't look like tcl knows how to handle the higher ascii characters properly, even with adding encoding strings to the code.
Lardmeister
Posting Virtuoso
1,749 posts since Mar 2007
Reputation Points: 407
Solved Threads: 44
Try a="itself ‘a parody’."
woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
Try a="itself ‘a parody’."
The problem is that US keyboards don't have a left and right singlequote character, so you need to escape the hex value of the character. This works in Python ...
x = 'itself \x91a parody\x92.'
print x # itself ‘a parody’.
If you feed string x to Tkinter's tcl language you get this --> "itself a parody."
In the USA at least it looks like you have to use the alt-key and keypad thingy and type 0145 and 0146 to construct your string. I do that with spanish characters.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417