Hi, all.
I'm developing an application using FXRuby and need to enter text that
has accented letters in it (portuguese texts).
But the controls doesn't show the accented letters as I type them - just
the corresponding letter without the accent.
I've captured SEL_KEYPRESS for a FXText control and I can see that it
"sees" as I type in the key with the accent, and then the key for the
letter I want to have accented.
Here's an excerpt of the output of the captured event (the relevant
statement here is puts data.text << " (" << data.code.to_s << ")"):
(65505)
< (60)
p (112)
(65505)
(62)
(65505)
I (73)
s (115)
t (116)
o (111)
(32)
(65105)
e (101)
(32)
c (99)
e (101)
r (114)
t (116)
o (111)
(65505)
< (60)
/ (47)
p (112)
(65505)
···
(62)
-------------------
I know that (65105) is the code for the left shift. (65105) would be the
code for the acute accent, which followed by the letter e (101) should
give me an "e acute" (é), but the control shows just the simple "e".
Does anybody have a hint on this?
TIA,
--
angico
------
home page: www.angico.org
Gnu/Linux, FLOSS, Espiritismo, e eu por mim mesmo 8^I
------
contatos:
email: angico@angico.org
skype: angico00
------