Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sqllab] Array output in sqllab displays Chinese characters as utf-8 codes #19982

Closed
1 of 2 tasks
michellethomas opened this issue May 6, 2022 · 2 comments
Closed
1 of 2 tasks
Labels
#bug Bug report

Comments

@michellethomas
Copy link
Contributor

Returning an array of Chinese characters in sqllab shows up as an array of utf-8 codes. Returning the data as a string and not an array shows up fine. Downloading to CSV also has the same issue of showing up as utf-8 codes.

How to reproduce the bug

  1. Run a query that returns an array of Chinese characters
  2. Try to view it in sqllab

Expected results

Shows the characters correctly

Actual results

Shows utf8 characters, when you click on the data it shows a popup window that displays the characters correctly, but when you download it to csv it shows up incorrectly.

Environment

(please complete the following information):

  • browser type and version:
  • superset version: superset version
  • python version: python --version
  • node.js version: node -v
  • any feature flags active:

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • [] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.
@sonfire186
Copy link

UP!

@rusackas
Copy link
Member

Closing this in favor of #19388 which has a bit more context on the issue. I tried to take a crack at fixing this, but didn't have much real luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants