xlldrv/keyboard.c: Report of typos

Andrew Talbot Andrew.Talbot at talbotville.com
Thu Jun 8 17:16:26 CDT 2006

James Hawkins wrote:
> Can you give us some examples of possible typos?  I think people will
> be more inclined to look into the problem if they see a definite
> problem pointed out.

I have worked out what is happening. Assuming the newsgroup system can
render the characters properly, in Vim, a sample array looks like this,
containing some accented characters:

/*** Icelandic keyboard layout (setxkbmap is) */
static const char main_key_IS[MAIN_LEN][4] =

I have the text editor I use - Kate - set to use utf8 encoding, which
renders the same text thus:

/*** Icelandic keyboard layout (setxkbmap is) */
static const char main_key_IS[MAIN_LEN][4] =
                                            missing double quote

If I save this file in my editor, I inadvertently corrupt it into this
second form. I suppose further such accidents (most likely to affect
English people, who do not generally use accented characters) would be
prevented if the accented characters were replaced with hex escape
sequences. The downside being that one would not be able to see what
characters they were via a suitable editor, but that may be less important.

I guess, for now, if I want to edit a file that contains high-order
characters, I will need to change the encoding setting of the editor to one
that can accommodate the full character set.


-- Andy.

More information about the wine-devel mailing list