handle unicode escape sequences for x and X

FIXES #3 (I WANT TO SAY FIXXXXXXES BUT I DONT THINK GITHUB IS SUFFICIENTLY
EXXXXXXXXXXXXXXXXXXXXXXXXXXTREME TO HANDLE THAT)