question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.ERD files won't be saved as UTF-8 encoding

See original GitHub issue

System 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:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
yiding-hecommented, Mar 4, 2021

@ShadelessFox I have confirmed that this bug has been fixed, and for privacy concerns I removed screen recordings uploaded previously.

0reactions
ShadelessFoxcommented, Mar 3, 2021

Looks like the fix was lost on the way to the Early Access version. Now it should be included. Can you try again, please?

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found