String UTF-8 encoding with cyrillic in H2O

[亡魂溺海] 提交于 2020-01-04 07:01:31

问题


I load csv file of utf-8 encoding with cyrillic strings. After parsing in Flow interface - i see not cyrillic, but not readable symbols like "пїўпѕЂпѕ™пїђпѕ" How can i use utf-8 cyrillic strings in H2O?


回答1:


This appears to be a bug in the Flow interface, but only in the setupParse command. If you continue through and do the import, the data gets imported correctly.

I've reported the bug, with test data and screenshots (taken in Firefox) here:

https://0xdata.atlassian.net/browse/PUBDEV-4640

So if you have additional information, or the bug is behaving differently for you, it'd be good to add it to that bug report.




回答2:


check your csv file in text and binary presentation to find how Cyrillic text is encoded, if it is UTF-8 it should look like this:

Привет

for the word

Привет



来源:https://stackoverflow.com/questions/44752584/string-utf-8-encoding-with-cyrillic-in-h2o

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!