pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Error message not displayed when sql statement contains Arabic letters

Open hubaishan opened this issue 1 year ago • 2 comments

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):

  • OS: Windows 10 x64
  • Version: 8.11

hubaishan avatar Sep 15 '24 14:09 hubaishan

@hubaishan What is encoding of the database?

yogeshmahajan-1903 avatar Sep 20 '24 11:09 yogeshmahajan-1903

win-1256 in windows 10x64

hubaishan avatar Sep 30 '24 15:09 hubaishan

Tested and verified on snapshot build Package: exe Environment: Windows 10

RohitBhati8269 avatar May 23 '25 14:05 RohitBhati8269