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

HugeGraph-Hubble平台导入中文数据读取变成乱码������ #1415

Closed
ibrillantx opened this issue Apr 7, 2021 · 6 comments
Labels

Comments

@ibrillantx
Copy link

在导入数据前已把CSV文档的编码格式改成UTF-8,但是依旧显示乱码,请教如何解决..

@Linary
Copy link
Contributor

Linary commented Apr 7, 2021

导入的时候有选择编码方式吗?“显示乱码”是指在哪个地方显示的。

@ibrillantx
Copy link
Author

导入的时候有选择编码方式吗?“显示乱码”是指在哪个地方显示的。

上传CSV文件后,文件设置选择UTF-8,点击保存;类型设置-创建顶点映射-选择ID列,此时出现乱码,就是CSV每一列开头的中文词语都变成了����这样....

@ibrillantx ibrillantx reopened this Apr 7, 2021
@Linary
Copy link
Contributor

Linary commented Apr 7, 2021

你在上传前把文件设置为UTF-8的编码方式(确保这么设置后预览文件没有乱码),然后重新上传一次文件,再走你后续的流程试试。

@ibrillantx
Copy link
Author

你在上传前把文件设置为UTF-8的编码方式(确保这么设置后预览文件没有乱码),然后重新上传一次文件,再走你后续的流程试试。

还是不可以呀,我确认本地已经改成了UTF8格式,还没有解决..
我的CSV文件最初是UTF-8 BOM,后来用notepad改成了UTF8格式,然后进行上传的

@javeme
Copy link
Contributor

javeme commented Apr 13, 2021

@ibrillantx 请先确保文件实际是UTF8,比如使用vim查看时无乱码,乱码一般是文件转码的时候容易出问题。另外可以新建一个UTF8编码的文件尝试导入流程,验证流程是否有问题。

@github-actions
Copy link

github-actions bot commented Jun 1, 2021

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

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

No branches or pull requests

3 participants