"Lars Preben S. Arnesen" wrote:
> 
> We're looking for an XML Editor to use and came across xxe. It seems
> very promising, but it doesn't seem to handle input of the special
> norwegian characters (ISO 8859-1 no 197, 198, 216, 229, 230, 248). I'm
> able to insert them into the text by selecting them one at a time from
> the character menu (0x0080 charset). It's quite impractical when I
> have to use the mouse to write one of the common characters instead of
> using the keyboard.
> 
> When using the keyboard a square is presented instead of the character

This is a font problem, I think. It should be solved, as a side effect,
if you do what follows.



> and in the xml file the character is represented by a question mark.
> (Yes, the XML file is encoded in ISO-8859-1.)

Do not use the 0x0080 charset (Latin 1 supplement) of the character
tool, use the 0x0000 charset (Basic Latin). The characters you need are
really there.



> Is there a way to fix this?

Now a more pratical solution:

[System solution] Use the compose key supported by your system.

For example, on Linux, I can enter French ? (é or é) on a US
keyboard by typing Left_Ctrl+e+'. 

On Windows, to my knowledge, it is Alt+number_sequence_on_the_keypad
(Alt+0233?).



[XXE solution] [1] Create a file called defaultbindings.xxe using a text
editor (see attachment).

[2] Add it where XXE can find it, for example, on Win2K, C:\Document and
Settings\<user>\xxe2\config\defaultbindings.xxe.

[3] This file should contain ``hot keys'' definitions such as:

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

All this is detailed in the Power User's Guide.
-------------- next part --------------
<?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>

Reply via email to