raiguard / ModernGadgets

Sleek, minimalist, information-dense gadgets for the modern desktop. Inspired by the AddGadgets.com system monitoring gadgets. Built on the Rainmeter platform.
MIT License
300 stars 32 forks source link

Swedish Characters not corretly parsed. #277

Closed dallebull closed 2 years ago

dallebull commented 2 years ago

I'm trying to translate the weather meter into Swedish, the Webparser seems to work fine but if i use swedish characters in WeatherMeter.Ini they bug out:

image (Feels like/Day Length/Moonrise/Moonset)

SilverAzide commented 2 years ago

Change the skin file encoding to "UTF-16 LE BOM" (using Notepad++ or your preferred editor).

dallebull commented 2 years ago

Works perfectly! Thanks!

raiguard commented 2 years ago

I've always found it odd that Rainmeter needs files to be in that strange format. My text editor on Linux straight-up will not display that format at all. Git/GitHub also do not know what to do with it and display them as binary files.

Why is it that I can have translations from other languages in a UTF-8 file in my other programming projects, but it does not work for Rainmeter? That's always confused me.