I am doing a script that is able to download a db_dump of a remote postgres database.
The problem is that I am trying to get the remote database on the correct enconding and I'm not being able to do it.
the remote database has a LATIN1 enconding and when I execute the script I dumped it is UTF-8
note that I want it to keep the encoding of the remote database so if the remote db is UTF-8 i want the local one to be utf-8 too
does someone know how to accomplish this??