Add support for hashing internal bytes in Unicode strings.