I run a sql in hue:
insert into Student values('01' , '赵雷' , '1990-01-01' , '男');
hue show: 'charmap' codec can't encode characters in position 35-36: character maps to
when i run :
select * from mydb.Student
I try set hue.ini -> [desktop] ->default_site_encoding=utf-8 but it doesn't work.
and i try : /usr/lib/python2.7/site-packages vim sitecustomize.py
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
my python version is 2.7.5 restart hue, it doesn't work.
help! thks.