Implemented FSM which detects UTF-8 non-shortest forms.