Add unassigned code point handling, and self test.