-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Bad UTF8 handling in caching ? #841
Labels
#bug:cant-reproduce
Bugs that cannot be reproduced
Comments
Are you sure it comes from caching? Do you still see this error if you disabled caching? What's the Caravel version in that docker image? |
Notice: this issue has been closed because it has been inactive for 622 days. Feel free to comment and request for this issue to be reopened. |
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 17, 2021
…apache#841) While resizing chart sometimes top results were filtered out because their sizes were too big. This solution makes sure that top 10% of results will always be displayed by gradually scaling down the chart if needed.
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 24, 2021
…apache#841) While resizing chart sometimes top results were filtered out because their sizes were too big. This solution makes sure that top 10% of results will always be displayed by gradually scaling down the chart if needed.
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 25, 2021
…apache#841) While resizing chart sometimes top results were filtered out because their sizes were too big. This solution makes sure that top 10% of results will always be displayed by gradually scaling down the chart if needed.
zhaoyongjie
pushed a commit
to zhaoyongjie/incubator-superset
that referenced
this issue
Nov 26, 2021
…apache#841) While resizing chart sometimes top results were filtered out because their sizes were too big. This solution makes sure that top 10% of results will always be displayed by gradually scaling down the chart if needed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use Caravel against MySQL database in UTF8, with /etc/mysql/my.cnf default client charset set to utf8.
Despite that, I get utf8 exceptions having something to do with polish province names (which are kept in column set to groupable, filterable)
I am using amancevice/caravel docker image to run caravel, I tried to modify it to add
sitecustomize.py
file withsys.setdefaultencoding('utf8')
but this did not solve my problem.The stacktrace and offending piece of data (
obj
) goes here:The offending string might be '?\xf3dzkie' which should be 'łódzkie'. You can see many characters are substituted to ?, for some reason 'ó' is converted differently. By connecting to DB with mysql console, i can see proper characters.
The text was updated successfully, but these errors were encountered: