I'm pretty sure this won't be much slower than converting the string to bytes and checking those, if not faster. The String class should be highly optimized.
If this is a big string, maybe a parallel execution by several threads will make things faster :-)