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

运行时的问题 #4

Open
Windancer94 opened this issue Jan 23, 2019 · 3 comments
Open

运行时的问题 #4

Windancer94 opened this issue Jan 23, 2019 · 3 comments

Comments

@Windancer94
Copy link

Windancer94 commented Jan 23, 2019

运行出来的图谱中是乱码,是什么原因呢?

@inkeast
Copy link

inkeast commented Apr 5, 2019

在graph_show.py里网页模板前加一行

      	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

就好了

@Wangnanfei
Copy link

网页保存的时候,增加 encoding = 'utf-8'

@onewaymyway
Copy link

GraphicShow.py
create_html函数改一下编码就可以了
f = open('graph_show.html', 'w+',encoding='utf-8')

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

No branches or pull requests

4 participants