rob42 / freeboard-installer

Installer to aid in freeboard setup tasks.It loads the arduinos, calibrates the IMU, and converts charts.
GNU General Public License v3.0
1 stars 3 forks source link

Problem with special characters #9

Closed joabakk closed 6 years ago

joabakk commented 7 years ago

I've added https://github.com/SignalK/signalk-server-node/issues/240 but I'm not sure where this issue originates, in the node server or the installer:

So I have tested with different charts, and there seems to be a problem adding charts with special characters such as ö,ä,å,æ,ø in the names. I use freeboard-installer, with the ISO-8859-1 setting. The names seem ok in the resources/charts call, such as

{"1111_Översikt_Svenska_Sjökort_(2000)":{"identifier":"1111_Översikt_Svenska_Sjökort_(2000)","name":"Översikt Svenska Sjökort","description":"Översikt Svenska Sjökort","tilemapUrl":"/mapcache/1111_Översikt_Svenska_Sjökort_(2000)","scale":4000000}

And they appear to be named correctly in freeboard-sk listings, but do not appear when they should (right zoom level, activated etc)

Any charts without these characters are ok.

Is it possible there is an issue with ISO-8859-1 characters in general? I see from the commit history that both UFT-8 and ISO-8859-1 is supported here.

joabakk commented 6 years ago

Closing as much has changed...