Hello,
We are upgrading from Jira DC 8.5.1(using MariaDB) to 8.13.7. (using Postgres 11) and when I tried to import the XML backup taken before the upgrade, I get the following error
ERROR: invalid byte sequence for encoding "UTF8": 0x00)) java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException:
Attached is the screenshot of the full error

Postgres was setup per the instruction in the link below
Connecting Jira applications to PostgreSQL | Administering Jira applications Data Center and Server 8.5 | Atlassian Documentation
What could be causing the issue, is it that MariaDB was setup with UTF8 and Postgres was setup with UNICODE? How can we resolve the issue at hand?