This is a simple patch that allows keysym values that lie outwith 
current (non-UTF-8) locale to be correctly translated by AW into 
UCS values. This is essential for supporting UTF-8 locales, since in 
a UTF-8 locale the keyboard can generate any Unicode character. 
The patch circumvents the limitations of X, which currently does 
not support UTF-8 locales.

The changes to existing AW code are minimal (about a dozen 
lines) and the mechanism only kicks in when the standard gdk 
processing fails, so that behaviour under supported locales is not 
changed.

Tomas Frydrych

*********************************************
[EMAIL PROTECTED] / www.frydrych.net
PGP keys:  http://www.frydrych.net/contact.html
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  utf8kbd_patch.gz
     Date:  24 Jan 2001, 18:14
     Size:  16833 bytes.
     Type:  Unknown

utf8kbd_patch.gz

Reply via email to