vi: try to fix cursor with utf-8 content

Change-Id: I45f3bcb1820d661d10a08b4a59d667046cda7179