On 09/ 1/15 06:38 PM, Mats Blakstad wrote:
As example, I want to add 0x025B. It says that I should take "the character's
Unicode number plus 0x01000000". What does that mean?

0x01000000
+   0x025B
----------
0x0100025B

How can I use the functions XStringToKeysym() and XKeysymToString().
Can I run them in the terminal in some way?

Call them from a C program.   For instance:

% cat > strtokey.c
#include <stdio.h>
#include <X11/Xlib.h>

int main(int argc, char **argv) {
    printf("0x%x\n", XStringToKeysym(argv[1]));
}

% cc -o strtokey strtokey.c -lX11
% ./strtokey U025B
0x100025b

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to