WorldWideTelescope / wwt-windows-client

WorldWide Telescope Windows Application
Other
179 stars 55 forks source link

While loading csv files containing Chinese,layer appears garbled #140

Closed qu123xxx closed 5 years ago

qu123xxx commented 5 years ago

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:

qu123xxx commented 5 years ago

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 5 years ago

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

qu123xxx commented 5 years ago

YES,I think it can be closed.