better exception message for undefined Unicode code points