title: How to convert a char to its keycode?
body: <p>How can I convert a character to its respective keycode?</p>
  
  <p>For example:</p>
  
  <ul>
  <li><code>a</code> to <code>65</code></li>
  <li><code>b</code> to <code>66</code></li>
  <li><code>c</code> to <code>67</code></li>
  <li><code>d</code> to <code>68</code></li>
  </ul>