impl: character validation enhancements