I'm guessing it works out how many digits to expect for each codepoint by looking at the first digit (i.e. if it starts with a 1 then it has to be 3 digits, otherwise it is only 2).
Does this mean it's impossible to type a newline character, or a backspace, for example?