From: Hidetoshi NAGAI Date: 2010-08-17T07:45:44+09:00 Subject: Re: TkVariable and accents From: jefff35 Subject: TkVariable and accents Date: Wed, 11 Aug 2010 04:35:10 +0900 Message-ID: > 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"? -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) Department of Artificial Intelligence, Kyushu Institute of Technology