hugegraph-hubble icon indicating copy to clipboard operation
hugegraph-hubble copied to clipboard

[Bug] Hubble 导入中文csv数据乱码

Open ZilinCui opened this issue 3 years ago • 8 comments

Bug Type (问题类型)

others (please edit later)

Before submit

  • [X] 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

HugeGraph-Server: 0.12.0 HugeGraph-Hubble: 1.6.0

Expected & Actual behavior (期望与实际表现)

本地有一个中文utf-8编码的csv文件, 新建数据导入任务时也选择了utf-8编码,创建顶点映射的时候显示乱码

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

ZilinCui avatar Mar 03 '22 07:03 ZilinCui

这个问题好像的确是有, 你可以附件一个最小的数据集 (几行就行), 然后截个图附上报错和页面情况

imbajin avatar Mar 03 '22 08:03 imbajin

这是我的测试文件 image 确定是utf-8编码

image

image

ZilinCui avatar Mar 03 '22 08:03 ZilinCui

之前我看有人提过,不过没有解决

ZilinCui avatar Mar 03 '22 08:03 ZilinCui

确认下如下问题:

  • 仅仅页面显示乱码?还是导入之后,数据存储查出来也乱码?
  • 浏览器、hubble服务所在操作系统的默认编码是什么?

javeme avatar Mar 03 '22 11:03 javeme

仅仅是页面显示乱码 浏览器是windows10的edge,hubble所在操作系统编码是ubuntu 默认应该是utf-8

ZilinCui avatar Mar 03 '22 12:03 ZilinCui

windows10的默认编码应该是gbk吧

ZilinCui avatar Mar 03 '22 12:03 ZilinCui

我也试了一下,使用Win10,UTF-8格式的CSV,上传hubble显示乱码,是UTF-8, UTF-8, UTF-8

ghost avatar Jun 15 '22 10:06 ghost

there must be some issues in hubble backend service

yyri avatar Jun 27 '24 07:06 yyri