fdo#82418 prefer UTF-8 over UTF-16

Change-Id: Id2c990d24dc942a6d061146ea88cf53ee29a1c3d