Fix ambiguous use of 'character' to mean 'code point' in docstrings.

Because Unicode can use multiple code points to represent a single
'character' (with combining marks, and so on) we need to be careful
about the terminology.  UTF-6t encodes code points, it does not know or
care about characters.
Remove unused imports and fix a minor bug in a raise statement.