I do have a test for this in messages.spec.ts with tons of unprintable characters and null bytes; we do so much string <-> byte conversion all over the system that I'm not worried about it nearly so much as, for example, accidentally hashing the wrong bytes.