Incubator-superset: Chinese characters shows "????" on plot

Created on 18 May 2016  ·  5Comments  ·  Source: apache/incubator-superset

I have some Chinese character data stored in Mysql, which charset is 'utf-8'. When I add this table into caravel, everything works well. But when I try to make some slice, the label and legend change into strange symbol like "???".

By the way, the example data(world's bank data and birth) works well.

image

image

Most helpful comment

Look at the url of the database connection. If you use mysql, add ?charset=utf8 to the end of the connection url.

All 5 comments

Look at the url of the database connection. If you use mysql, add ?charset=utf8 to the end of the connection url.

谢谢!您在国内么?我在济南,想交个朋友,希望能常联系。
最近,想把这个caravel改造一下,苦于水平有限,希望能多和您交流一下。谢谢!
------------------------------------------------------------------发件人:Li Chaoqun [email protected]发送时间:2016年5月25日(星期三) 12:09收件人:airbnb/caravel [email protected] 题:Re: [airbnb/caravel] Chinese characters shows "????" on plot (#485)
Look at the url of the database connection. If you use mysql, add ?charset=utf8 to the end of the connection url.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

I think @licq's method worked !

thank you very much . i have the same problem.

thanks the same.

Was this page helpful?
0 / 5 - 0 ratings