This issue only occurs when database encoding is other than utf-8
Also other issue was when we use connection of database with encoding other than utf-8 to retrieve data from cluster table/s which has encoding utf-8 (e.g. pg_database) then data was not decoded properly.