我在本地复现了一下, 发现给string属性建立索引的长度比较小时就会出现显示乱码的情况:
create tag index product_index on product(name(20))
...
(root@nebula) [nba]> lookup on product where product.name == "大宝美白集萃柔肤水" yield product.name
+----------+------------------+
| VertexID | product.name |
+----------+------------------+
| "101" | "大宝美白集萃�" |
+----------+------------------+
create tag index product_index on product(name(100))
...
(root@nebula) [nba]> lookup on product where product.name == "大宝美白集萃柔肤水" yield product.name
+----------+----------------------+
| VertexID | product.name |
+----------+----------------------+
| "101" | "大宝美白集萃柔肤水" |
+----------+----------------------+
Got 1 rows (time spent 3758/4475 us)