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.

seems fail with chinese utf8

See original GitHub issue

when use sql lab:

if a table contains Chinese utf8 character:

it fails:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xb7 in position 1: invalid start byte

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (6 by maintainers)

github_iconTop GitHub Comments

11reactions
smlycommented, Apr 6, 2017

Hi @jinleileiking. I had the same problem and finally found out a workaround. I guess you can save your configuration with including “?charset=utf8” and ignore the test connection fail. Once you saved the configuration with “?charset=utf8”, the test connection will say “seems ok”. It might be a bug on the test connection.

0reactions
zhaoyongjiecommented, Jan 19, 2021

Hey, the XXXX is by design. You need filled real password If you would like to test the db connectIon

On Tue, Jan 19, 2021 at 5:36 PM Mason Ma notifications@github.com wrote:

I notice that the DBPassword in Connection String change to ‘XXXXX’. And this makes the connection false. When I change the “XXXXX” to my DBPassword, the test connection success.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/superset/issues/2473#issuecomment-762721324, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPMKUTDR24TV4TMYHHTJRLS2VHDLANCNFSM4DFDX75Q .

Read more comments on GitHub >

github_iconTop Results From Across the Web

seems fail with chinese utf8 · Issue #2473 · apache/superset
when use sql lab: if a table contains Chinese utf8 character: it fails: UnicodeDecodeError: 'utf8' codec can't decode byte 0xb7 in position ...
Read more >
Chinese characters SOMETIMES not decoded properly in ...
Chinese characters SOMETIMES not decoded properly in Windows 10 · Press Windows key + X. · Click Control Panel. · Click Clock, Language,...
Read more >
Encoding error in Python with Chinese characters
Here's a suggestion for a better way to inspect the damage: decode each file with raw_bytes.decode(encoding, 'replace') and write the result ( ...
Read more >
Are Chinese characters UTF 8? - Quora
Yes, you can represent them each with 4 bytes in UTF-8. However, it's very inefficient if the text consists entirely or mostly of...
Read more >
How can I find out the encoding of this corrupted Chinese text ...
I have a text in Simplified Chinese, which, when read as UTF-8 begins with ´ÓºÜ¾ÃÒÔÇ°¿ªÊ¼ , which the online tool from MandarinTools (first ......
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