Does the JDBC Postgres Driver has a way to set the client_encoding to connect to the database?
I am using Spring (with JPA) and the connection information is in the application.properties file:
spring.datasource.url=jdbc:postgresql://mypgserver.com:5432/mydb?user=myuser&password=mypass&characterEncoding=UTF-8
But reading the JDBC docs at https://jdbc.postgresql.org/documentation/head/connect.html, I didn't find a parameter named characterEncoding.
In fact, there is no parameter for this purpose in the docs.
How can I set the encoding to be used when inputting data to the PG server?