when i index chinese text with es, the chinese like this :
"_type" : "demo1",
"_id" : "ZESzmu_UTBiMvWXoSSCWpA",
"_score" : 1.0, "_source" :
{"body":"","timestamp":"1387102899192","file":"/Users/chunguowang/workspace/test/dx.log"}
}, {
"_index" : "demo1-2013-12-15",
"_type" : "demo1",
"_id" : "d8IVHQoDSKisKLe3p2JfQQ",
"_score" : 1.0, "_source" : {"body":"涓���ㄤ负 K-12 瀛���℃��渚�缁�涓����
API锛���ㄤ��璁板��瀛����淇℃��锛������舵�逛究�����插����ㄧ��寮�������浠���峰����版�������������扮�����宸叉��
1 涓�澶����瀛���′����跺��浣������������插����������峰��浜�绾㈡��璧���� 1000
涓�缇����������璧����绾㈡��璧����������浼�浜� Bryan
Schreier锛�涓������剧�兼����茬�����棰����锛����璧�浜� Inkling ���
MindSnacks锛�锛�灏������� Clever
�����d��浼����","timestamp":"1387102898717","file":"/Users/chunguowang/workspace/test/dx.log"}
}, {
"_index" : "demo1-2013-12-15",
"_type" : "demo1",
"_id" : "EuxRL9ZoSqGA02yABJxOOw",
"_score" : 1.0, "_source" :
{"body":"","timestamp":"1387102899289","file":"/Users/chunguowang/workspace/test/dx.log"}
}, {
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9c50da55-52b0-40c3-8c83-233a1ef9cb3b%40googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
Ivan
(Ivan Brusic)
December 17, 2013, 4:35am
2
Your encoding is incorrect. The problem could be at one of many levels.
Perhaps you indexed with the wrong encoding. Maybe you indexed the correct
encoding, but your terminal/browser has a different encoding and therefore
cannot display the characters. I do not know much about encoding except
that it is really hard.
Cheers,
Ivan
On Sun, Dec 15, 2013 at 2:25 AM, wangchunguo@umeng.com wrote:
when i index chinese text with es, the chinese like this :
"_type" : "demo1",
"_id" : "ZESzmu_UTBiMvWXoSSCWpA",
"_score" : 1.0, "_source" :
{"body":"","timestamp":"1387102899192","file":"/Users/chunguowang/workspace/test/dx.log"}
}, {
"_index" : "demo1-2013-12-15",
"_type" : "demo1",
"_id" : "d8IVHQoDSKisKLe3p2JfQQ",
"_score" : 1.0, "_source" : {"body":"涓���ㄤ负 K-12 瀛���℃��渚�缁�涓����
API锛���ㄤ��璁板��瀛����淇℃��锛������舵�逛究�����插����ㄧ��寮�������浠���峰����版�������������扮�����宸叉��
1 涓�澶����瀛���′����跺��浣������������插����������峰��浜�绾㈡��璧���� 1000
涓�缇����������璧����绾㈡��璧����������浼�浜� Bryan
Schreier锛�涓������剧�兼����茬�����棰����锛����璧�浜� Inkling ���
MindSnacks锛�锛�灏������� Clever
�����d��浼����","timestamp":"1387102898717","file":"/Users/chunguowang/workspace/test/dx.log"}
}, {
"_index" : "demo1-2013-12-15",
"_type" : "demo1",
"_id" : "EuxRL9ZoSqGA02yABJxOOw",
"_score" : 1.0, "_source" :
{"body":"","timestamp":"1387102899289","file":"/Users/chunguowang/workspace/test/dx.log"}
}, {
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9c50da55-52b0-40c3-8c83-233a1ef9cb3b%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAs%2BJ6An6t7PdhsJ9b91UaXm5J1JmYXjn0C%3DXxtuo8BGw%40mail.gmail.com .
For more options, visit https://groups.google.com/groups/opt_out .