WorldWideTelescope/wwt-windows-client

While loading csv files containing Chinese,layer appears garbled

qu123xxx opened this issue · 3 comments

When I load a csv file in below ,WWT apperes garbled.

image

image

When I copy all the data in the file and paste into wwt. It back to nomal.
image

But I have hunders of files, and I want to use pywwt to create different groups of layers in WindowsClient. Then save it as .wwtl file. Thus I can't do it manual. But,

1.In pywwt, the new_layer() method isn't support 'Geometry' like TEXT() or 'Linestring()'.
The load() method happen to the same issue like above.

2.Excel-addin is unavailable.

It's hard to create about 200 layers manaully:see_no_evil:

I find the solution.When I use notepad open the csv file which was saved from xlsx file by Excel2019.
I find the Linestring and TEXT is between ".
image
Delete it and save csv as Unicode or UTF-8 file the error would gone.

pkgw commented

Thanks for the update — do you think this issue can be closed now?

YES,I think it can be closed.