.ERD files won't be saved as UTF-8 encoding
See original GitHub issueSystem information:
- Operating System: Windows 10
- DBeaver version: 7.3.5
- Additional extensions: None
Connection specification:
(irrelevant)
Describe the problem you’re observing:
My OS default charset is CP936. And ER Diagram files (*.erd) won’t be saved as UTF-8 no matter how I change file type settings. The header of the .erd file is <?xml version="1.0" encoding="UTF-8"?>
but actual encoding is CP936. As a result, DBeaver cannot open it again.
Steps to reproduce, if exist:
- Open DBeaver in a Windows 10 with CJK language.
- Create a .erd file with CJK character name (such as “你好.erd”).
- Add a (any) table into the diagram.
- Save the diagram and close editor tab.
- Double click the diagram, it shows 0 objects.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to Fix Corrupted Character Encoding (Corrupted Text) in ...
Character corruption happens when the save file uses a different type of default file encoding from the end user's program.
Read more >why can't I save my file as utf-8 format - Stack Overflow
Once it's decoded to a Python string, it's no longer encoded and stored effectively as Unicode points in memory. The error you're getting...
Read more >Notepad encoding ANSI opening up as UTF-8 Win 10
Microsoft Notepad, saves all Unicode files with BOM (Byte Order Mark). In case you don't want to use BOM in your Unicode text...
Read more >How to get Progress Developer Studio to save in UTF-8 ...
2) Make sure that the Workspace default file encoding in the General-> Workspace screen (under Windows -> preference menu) is set to default...
Read more >Extending the save file dialog class in .NET - CodeProject
Not all tools support all encodings. SQL Query Analyzer, for example, supports UTF-16, but not UTF-8 encoded files; if you ask it to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ShadelessFox I have confirmed that this bug has been fixed, and for privacy concerns I removed screen recordings uploaded previously.
Looks like the fix was lost on the way to the Early Access version. Now it should be included. Can you try again, please?