[Solved] German Umlaute will be destroyed

7 Posts
2 Users
0 Reactions
778 Views
(@radler64)
Member
Joined: 2 years ago
Posts: 12
Topic starter  

Hello,

I am using SQLinForm version 6.22.10.15

and DBeaver 22.2.0

This is what I am doing:

- Copy and paste a sql statement from Pentaho DI into DBeaver, should now be in CP1252.

vorher

- Format the SQL using SQLinForm

Result is, all german Umlaute like 'ä', 'ü', 'ö' are replaced by a special character.

nachher

The Codepage of the file seems to be changed, because I cannot save it anymore in DBeaver.

nachher2

See the pictures I have attached.

What can I do?

Best regards

Dieter

 


   
Quote
Guido
(@admin)
Member Admin
Joined: 3 years ago
Posts: 216
 

Hi Dieter,

thanks for your feedback. The external formatter is not converting any codepages. It assumes the SQL statement in UTF-8

Would it be possible to change the encoding of the workspace into UTF-8 as shown in this thread https://stackoverflow.com/questions/44796919/dbeaver-file-encoding-cp1250-windows-1250-change-default-encoding

Regards

Guido


   
ReplyQuote
(@radler64)
Member
Joined: 2 years ago
Posts: 12
Topic starter  

Hello Guido,

 

I changed the setting to UTF8 again, which i have had already.

But the behavior is unchanged. I am copying a CP1252 file, see the Umlaute 'ä'.... format it again and they are changed. 

There is no way to avoid that.

regards

Dieter


   
ReplyQuote
(@radler64)
Member
Joined: 2 years ago
Posts: 12
Topic starter  

Add on: The only change, when I am using UTF8 setting is, that I can save the files, but with the wrong character. 


   
ReplyQuote
Guido
(@admin)
Member Admin
Joined: 3 years ago
Posts: 216
 

Hi Dieter, I could not find any hint in the DBeaver documentation how to handle different code pages with the External Formatter.

Will do some more investigations

Regards

Guido


   
ReplyQuote
(@radler64)
Member
Joined: 2 years ago
Posts: 12
Topic starter  

@admin Thanks, let me know if I could test more. No more idea's from side.


   
ReplyQuote
Guido
(@admin)
Member Admin
Joined: 3 years ago
Posts: 216
 

The issue with the German Umlaute has been solved with the new Release


   
ReplyQuote
Share: