Add new database "load users" gives an error for `invalid byte sequence`
- Dominant language
- Java
- Stars
- 51.8k
- Forks
- 4.4k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 188
Description
### Description
Insert new database "load users" doesn't use the initialization SQL to set client encoding to `Win1252` and gives an error for `invalid byte sequence`.



Error:
```
Erro SQL [22021]: ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x89
ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x89
ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x89
```
### DBeaver Version
Community Edition 23.3.0.202312031432
### Operating System
Windows 11 Pro Version 10.0.22621 Build 22621
### Database and driver
Database name and version: PostgresSQL 15.0
Diver name: PostgresSQL JDBC Dirver (I'm not sure how to find the version)
### Steps to reproduce
Create a PostgresSQL database and connect to it. Make some users using `Win1252` only characters.
Click here:

### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.