pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.57k stars 661 forks source link

Error message not displayed when sql statement contains Arabic letters #7926

Open hubaishan opened 2 months ago

hubaishan commented 2 months ago

Describe the bug In Query Tool Error message not displayed when sql statement contains Arabic letters instaed I got this message:

'utf-8' codec can't decode byte 0xda in position 36: invalid continuation byte

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Query Tool'
  2. Type this query SELECT Current_DATE from abc WHERE 'علي' = 'علي' note that abc table is not exist.
  3. execute the query.
  4. See the error

Expected behavior error message ERROR: relation "abc" does not exist as when using psql.

Error message

I got instead: 'utf-8' codec can't decode byte 0xda in position 36: invalid continuation byte

Desktop (please complete the following information):

yogeshmahajan-1903 commented 2 months ago

@hubaishan What is encoding of the database?

hubaishan commented 2 months ago

win-1256 in windows 10x64