Instead, rely on the stream being set into the correct encoding during stream initialisation. Change-Id: I5b015f12f141a89b176c5a22aeecc4336f0b8f13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200460 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>