It is currently September 25th, 2020, 10:18 am

Weather.com JSON not loading correctly

General topics related to Rainmeter.
User avatar
ScottyK
Posts: 2
Joined: June 8th, 2020, 12:13 am

Re: Weather.com JSON not loading correctly

Post by ScottyK »

DrRoboculous wrote: June 7th, 2020, 7:32 pm So what does this mean for users? Is there a code i'm supposed to copy & paste in all my skins? I've been trying to follow these threads for the last couple of weeks but, i'm not a coder or a skin-maker or anything; i'm just a Rainmeter user. I think I have a basic sort-of understanding of what the problem is but i don't understand what any of this means in terms of how to fix it. Any help? Thanks. Keep up the great work, everybody.

[By the way: you guys probably can't see the humor in the situation of a non-coder reading a message board and seeing a post that is just a wall of long lines of code followed by a response in human words, like "great work!" - but trust me, it's funny.]
I have to say that I also fall into the same camp as the good Doctor here. I am a complete novice when it comes to this. I did manage, however, to do some modification on the old HTC skin, and it was working fine up until all of this recent nonsense. Following these directions, I managed to get it working again, although my "degrees" symbol renders kinda funny:

HTC SPK.jpg
Any thoughts on why this might be and what I can do to correct it?

Also, I have to say a big THANK YOU!! for everyones hard work making this right again!
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 21387
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather.com JSON not loading correctly

Post by jsmorley »

ScottyK wrote: June 8th, 2020, 12:31 am I have to say that I also fall into the same camp as the good Doctor here. I am a complete novice when it comes to this. I did manage, however, to do some modification on the old HTC skin, and it was working fine up until all of this recent nonsense. Following these directions, I managed to get it working again, although my "degrees" symbol renders kinda funny:


HTC SPK.jpg

Any thoughts on why this might be and what I can do to correct it?

Also, I have to say a big THANK YOU!! for everyones hard work making this right again!
You can fix the degree symbol by changing the encoding of the skin .ini to Unicode UTF-16 Little Endian, then save the skin, reload it, and THEN, paste in the ° degree symbol.

https://docs.rainmeter.net/tips/unicode-in-rainmeter/
User avatar
ScottyK
Posts: 2
Joined: June 8th, 2020, 12:13 am

Re: Weather.com JSON not loading correctly

Post by ScottyK »

Thank you so much, jsmorley; it worked like a charm!

Mind you, I needed to figure out how to change the encoding, but once I did, I got it to run.

:thumbup:
HTC SPK 2.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 21387
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather.com JSON not loading correctly

Post by jsmorley »

ScottyK wrote: June 8th, 2020, 4:12 pm Thank you so much, jsmorley; it worked like a charm!

Mind you, I needed to figure out how to change the encoding, but once I did, I got it to run.

:thumbup:

HTC SPK 2.jpg
Excellent!