Oliver Jowett <oliver@opencloud.com> writes:
> It sounds like the root cause might be something like "let's feed
> pg_dump output to JDBC". So we could add a special case in the driver to
> allow exactly "UTF8" as well as "UNICODE", if that's the canonical way
> the server spells it these days.
+1 for that in any case, because UNICODE hasn't been the canonical
spelling since 8.1.
regards, tom lane