superset icon indicating copy to clipboard operation
superset copied to clipboard

Chinese characters shows "????" on plot

Open jjdblast opened this issue 10 years ago • 5 comments

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

jjdblast avatar May 18 '16 15:05 jjdblast

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

licq avatar May 25 '16 04:05 licq

谢谢!您在国内么?我在济南,想交个朋友,希望能常联系。 最近,想把这个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

bnpysse avatar May 25 '16 04:05 bnpysse

I think @licq's method worked !

jjdblast avatar May 27 '16 03:05 jjdblast

thank you very much . i have the same problem.

lifeinearth avatar Aug 29 '16 10:08 lifeinearth

thanks the same.

yuanhaoliang avatar Jun 27 '17 09:06 yuanhaoliang