Completion doesn't work when &encoding isn't utf-8 AND &fileformat is dos

This is because cursor position is calculated incorrectly in this case.