http://www.umgum.com/bacula-postgresql-fix-encoding/