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

Message-ID: <d69b0213-54c7-470a-a359-5096c0707de8@f42g2000yqn.googlegroups.com>

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"?

···

From: jefff35 <jefff35@gmail.com>
Subject: TkVariable and accents
Date: Wed, 11 Aug 2010 04:35:10 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
Department of Artificial Intelligence, Kyushu Institute of Technology