During copy/paste operation the encoding can change.
It has nothing to do with pgAdmin but with the OS on which that operation is executed.
Hope it helps.
Regards
From: Zoltán Sörös [mailto:zsoros@gmail.com] Sent: vendredi 8 février 2019 14:23 To: pgadmin-support@lists.postgresql.org Subject: pgAdmin 4 V4.2 and non-unicode database
Hi!
Our database uses latin2 encoding. pgAdmin V4 displays all text correctly, but when I copy something from the SQL tab to the query tool, and run the query, it scrambles all accented letters in the stored texts, notably on comments on columns and texts in stored functions. This problem exists since V4.0 - 3.6 was OK.
Version: pgAdmin 4 V4.2, Windows 10, firefox browser