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