TkVariable and accents

J

jefff35

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
 
H

Hidetoshi NAGAI

From: jefff35 <[email protected]>
Subject: TkVariable and accents
Date: Wed, 11 Aug 2010 04:35:10 +0900
Message-ID: <[email protected]=
ups.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=E9" I get t "t=DA" in the tkvariable.=
how come I get "t=DA".
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 ([email protected])
Department of Artificial Intelligence, Kyushu Institute of Technology
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top