Plethora777 / mcpe_viz

Minecraft Pocket Edition (MCPE) World Visualization & Reporting Tool with Web App
GNU General Public License v2.0
167 stars 39 forks source link

Non-ASCII sign text not displayed correctly in the web app #37

Closed SpecLad closed 7 years ago

SpecLad commented 7 years ago

For example, "Осторожно" is displayed as "Осторожно".

The geojson file actually has the text right, it's just not interpreted by the browser correctly, because it's encoded in UTF-8. An easy fix would be to add charset="utf-8" to the script element that loads the geojson file, or <meta charset="utf-8" /> inside the head.

Plethora777 commented 7 years ago

Thanks for the tip. I added the approach in the update today. I'll close this issue for now. If there is still an issue, please feel free to open another.