Removing charset for it's not supported by pdo_pgsql

Only if I remove the charset encoding from the Doctrine configuration can I access _ajax/fbvendor
If I keep the charset encoding I get the following:

request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException: "An exception occured in driver: SQLSTATE[08006] [7] ERROR:  Unsupported startup parameter: options" at /srv/http/LabDB/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php line 77 {"exception":"[object]