By the Unicode standard, it's "code unit" (two words), so the function should be called `byCodeUnit`.