Fix tab completion with utf8 completion char

Closes #738