DBeaver file encoding (cp1250 - Windows-1250) - change default encoding?

60.4k Views Asked by At

I have a problem setting encoding in DBeaver, specifically SQL file encoding (not db encoding!) to cp1250 (Windows-1250)

No problem to set such encoding for new files/scripts - right click on Scripts folder (or the whole project folder, from which scripts are inheriting): Properties / Resources / Text file encoding.

The problem is opening existing scripts from text files (SQL Editor / Load script). These are loaded in UTF-8, which is shown as deafult encoding. No easy way to change the encoding after opening...

Does anyone know how to change default encoding for DBeaver (or for opened files)? I cannot find the answer anywhere...

3

There are 3 best solutions below

0
On

Korean(한글) users who wish to set encoding to UTF-8, follow steps marked on the below figure.

enter image description here

2
On

see capture file below for a detailed explanation. Hope this helps (if still relevant)...

Visual Explanation

0
On

I had the same problem and solved removing the UTF encoding from the driver settings.

Right click on Data Base > Edit Connection F4 > click on button ‘Edit Driver Settings’ > click on Tab ‘Driver Properties’ > Right click on ‘encoding UTF8’ > Remove Property> OK>

click on Tab ‘Driver Properties’ > Right click on ‘encoding UTF8’ > Remove Property> OK