Postgresql: set default psql client encoding
Is there a way to permanently configure this setting, either in the .pgpass file or anywhere else


Yes there is: it's ~/.psqlrc (or %APPDATA%\postgresql\psqlrc.conf in Windows)

See the manual for details: http://www.postgresql.org/docs/current/static/app-psql.html#AEN88713