title: Convert char literal in string to char
body: <p>I'm writing a parser for a programming language. I want to create a char literal, just like java's. If I have their input held in a String("a", "z", "1", etc.), I can easily convert this to a char by using charAt(0). But if they give a unicode value, something that is valid in java, how can I convert this to a char? Is there a built in method?</p>