title: Bad encoding for PostgreSql Docker instance
body: <p>I am not able to reach any database located in a running docker container.
  I am always having the same error : </p>
  
  <pre><code>FATAL: authentification par mot de passe échouée pour l'utilisateur  « ro_user » pgjdbc: autodetected server-encoding to be ISO-8859-1, if the message is not readable, please check database logs and/or host, port, dbname, user, password, pg_hba.conf)
  </code></pre>
  
  <p>The credentials are correct, and this is below the content of the pg_hba.conf : </p>
  
  <pre><code># TYPE  DATABASE        USER            ADDRESS                 METHOD
  
  # "local" is for Unix domain socket connections only
  local   all             all                                     trust
  # IPv4 local connections:
  host    all             all             127.0.0.1/32            trust
  # IPv6 local connections:
  host    all             all             ::1/128                 trust
  # Allow replication connections from localhost, by a user with the
  # replication privilege.
  local   replication     all                                     trust
  host    replication     all             127.0.0.1/32            trust
  host    replication     all             ::1/128                 trust
  host all all all md5
  </code></pre>
  
  <p>Same PostgreSQL images are working for my coworkers, is there any configuration I need to add to be allowed to connect to the database ? Is this related to my ip address or to the OS encoding ? </p>