Report question

Question: How to convert a character to key code?