Convert text to ASCII (returns an integer).