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.

Strange encoding in 'data view' tab

See original GitHub issue

Hello,

After testing DBeaver 3.6.8 (standalone) I’ve encountered very strange encoding issue of ‘data view’ tab durning table editing. It seems to encode result sets data always with ISO-8859-1 (Latin-1). My data base is encoded using ISO-8859-2 (Latin-2) and I’m running dbeaver on windows_7_64 and Java 8.

Changing option in 'Preferences -> Database -> Result Sets -> Binaries -> String encoding’ doesn’t affect on data view at all (my tests revealed that this combo box is actually dummy). When I set db connection encoding attribute to Latin-2 it makes totally mess (I cannot decode it properly with any editor).

I’ve even changed JVM default encoding properties to ISO-8859-2 (by editing ‘dbeaver.ini’ file) and they seem to load OK (example from ‘Installation details’):

file.encoding=ISO-8859-2 sun.jnu.encoding=ISO-8859-2

But still result set is encoded with ISO-8859-1.

Furthermore, I think this issue messed up the export to *.cvs functionality. Dbeaver thinks now that strings are binaries and it puts nulls to output.

Are there any workarounds?

Regards from Poland, Bartek

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
rjxbycommented, Apr 27, 2020

@MttCastelli I have the same problem as you, try change Binaries format to HEX, it’s works for me.

Screenshot 2020-04-27 at 16 27 40
1reaction
MttCastellicommented, Jul 20, 2018

Hi, may this attached depends on a similar issue? It’s an Oracle DB, very latest DBeaver CC and Preferences -> Database -> Result Sets -> Binaries -> String encoding is set on UTF-8

dbeaver_issue494

Read more comments on GitHub >

github_iconTop Results From Across the Web

Detect weird characters in all character fields in a data.frame
I want to check in every column of type character for weird/corrupted characters. Meaning the weird sequences of characters that result from ...
Read more >
How can I get Excel to properly display special characters in ...
On a Windows computer, click "File > New" in Excel. Click "Data" tab. Then click "From Text" option. Select the CSV you file...
Read more >
Choose text encoding when you open and save files
You can specify the encoding standard that you can use to display (decode) the text. Click the File tab. Click Options. Click Advanced....
Read more >
Encoding settings for garbled text - Google Merchant Center ...
Encoding settings for garbled text ; Firefox. Select "View" from the top of your browser window. Select "Text Encoding." ; Safari. Select "View"...
Read more >
Special characters in excel - Dataiku Community
You can check what the character encoding DSS is using to write the CSV file under the “Settings > Preview” tab, in the...
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