Confused with ASCII codes?
Looking at ascii tables on The Web, Delete = 127 and Full-stop = 46. But when I capture the Word on my keyboard, then I get Delete = 46, and Full-stop = 190
What am I missing here? How can I be sure my Applet works on every keyboard? ( Using Delphi Pascal: TForm1.KeyDown(Sender: TObject; var Key: Word;).
- MarkGLv 71 decade agoFavorite Answer
Are you using the correct character set ?
Also I am not sure if you are capturing keyboard scan codes instead of the ASCII code you expect.Source(s): http://www.microsoft.com/typography/unicode/cs.htm http://www.cs.tut.fi/~jkorpela/chars.html SCAN CODES: http://www.barcodeman.com/altek/mule/scandoc.php