fdo#82418 prefer UTF-8 over UTF-16

Change-Id: Id2c990d24dc942a6d061146ea88cf53ee29a1c3d
(cherry picked from commit a8525fe5cf2ba834ae39e7bfe078911d94957a70)
Reviewed-on: https://gerrit.libreoffice.org/10913
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>