Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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...

like image 392
Tom Avatar asked Jun 28 '17 08:06

Tom


1 Answers

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

Visual Explanation

like image 147
Koby Avatar answered Oct 30 '22 17:10

Koby