How to configure DBeaver to save files without a BOM for UTF files? I am looking for the equivalent setting as the PGADMIN setting Write BOM for UTF files which will cause saved files to be saved with/without the BOM.

I've found settings in DBeaver when exporting data, but nothing that would configure new (or existing) files to be saved without the BOM.



How do I configure DBeaver to save files without a BOM for UTF files/
Using sed

You can always cut out three bytes (the bom) with sed

sed -i '1 s/^\xef\xbb\xbf//' *.txt


That'll actually do it in place.