Use `char-bytes' instead of `char-length'.