Question

I am getting key events that contain asci key codes and I was wondering if there was any easy way to convert these to the actual key or character in common lisp. I am using the ccl implementation which does not include int-char (which may or may not have worked for this task).

Was it helpful?

Solution

You can use the code-char function. It will return the character encoded by given integer. Bear in mind that CCL uses Unicode, not pure 7-bit ASCII.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top