Computer memory saves all data in digital form. There is no way to store characters directly. Each character has its digital code equivalent: ASCII code (for American Standard Code for Information ...
American Standard Code for Information Interchange. more commonly known as ASCII, is the standard for representing all upper-case and lower-case Latin letters, numbers, punctuations, etc as a code ...
There is no standard that says keyboards must map to something and it's up to the OS to interpret what each keycode means. The keycode sent out for the "Z" key on US English QWERTY style layouts may ...