I am getting a hexadecimal value of my string that looks like this: Hexadecimal value of this string is: The problem is that when i try to convert this value back to ascii it poorly converts the č,š,ř,.. and returns symbol of little box with question mark in it instead of these symbols. My code for converting hex to ascii:
Tag: ascii
ASCII code generation for the combination of keys
I want to know how to get the ASCII code for the combination of keys. Like I want to handle event for some unique key combination [alt+ctrl+shift]. Alternatively can you please tell me the ASCII code for [alt+Enter], [ctrl+Enter]. Answer There are flags on the event object that tell you if the alt, control or shift keys have been entered: