This issue is created automatically through a Github pull request on behalf of rocksfrow:
The current release doesn't allow connecting to pgbcouner when specifying the charset due to the lack of support for the 'options' parameter. The fix is to use the client_encoding option directly instead of passing it through the options parameter.
This exact same bug was fixed in node.js's PG driver the exact same way.
I've confirmed this fix works with pgbouncer.