[ Hussein Shafie ]

> All this is detailed in the Power User's Guide.<?xml version='1.0' 
> encoding='ISO-8859-1'?>
> <configuration xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";
>   xmlns:xs="http://www.w3.org/2001/XMLSchema";>
> 
>   <binding>
>     <keyPressed code="F5" />
>     <command name="insertString" parameter="&#197;" />
>   </binding>
> 
> </configuration>

Your example worked fine, but when I tried to bind it to the key I
want to use, it didn't work. I used xev (I'm running Linux) to se what
code the character is. You said that this is a font problem. How can
that be? If this was a font problem I understand the
box-representation of the character, but if xxe works it should at
least store the correct character in the xml file. xxe only stores "?"
for the special characters. I don't have the same problem with other
java applications.



KeyPress event, serial 27, synthetic NO, window 0x5200001,
    root 0x78, subw 0x0, time 20290615, (110,152), root:(1205,539),
    state 0x1, keycode 34 (keysym 0xc5, Aring), same_screen YES,
    XLookupString gives 1 characters:  "?"



<?xml version='1.0' encoding='ISO-8859-1'?>
<configuration xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:xs="http://www.w3.org/2001/XMLSchema";>

  <binding>
    <keyPressed code="Aring"/>
    <command name="insertString" parameter="&#197;" />
  </binding>

</configuration>


-- 
Lars Preben S. Arnesen

"An interesting game. The only way to win is not to play."
                                                - Joshua

Reply via email to