TkVariable and accents

hello,
I’m working on a small gui, I have a tkEntry, for reading the
tkEntry.textvariable I have a tkVariable.
when I enter something as “toto” in the tkentry i get it in the
tkvariable. but when I enter “té” I get t “tÚ” in the tkvariable.
how come I get “tÚ”.
is there a way to handle accents?
or maybe I shoud use something else than a tkvariable

From: jefff35 [email protected]
Subject: TkVariable and accents
Date: Wed, 11 Aug 2010 04:35:10 +0900
Message-ID:
[email protected]

I’m working on a small gui, I have a tkEntry, for reading the
tkEntry.textvariable I have a tkVariable.
when I enter something as “toto” in the tkentry i get it in the
tkvariable. but when I enter “té” I get t “tÚ” in the tkvariable.
how come I get “tÚ”.
is there a way to handle accents?
or maybe I shoud use something else than a tkvariable

I can’t understand your problem, because all of your quoted text is
“t?” (“t” + question-mark) on my terminal.
Probably, your trouble depneds on text-encoding.
Which version of Ruby does you use? What is your locale?
What encoding name is returned by “Tk.encoding”?