Get ascii value of a character

?a gives you the Unicode codepoint of a as an integer, the first 128 (0 to 127) codepoints are equivalent to US-ASCII.

So I’m not sure what your problem is.

1 Like