It is currently December 5th, 2021, 2:28 am

Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Weather skins
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by JelleDekkers »

Last edited by JelleDekkers on August 3rd, 2021, 10:33 am, edited 5 times in total.
ms310
Posts: 224
Joined: April 1st, 2015, 7:16 am

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by ms310 »

For me the degree symbols don't appear.
2020-12-02_10h35_55.png
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22416
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by jsmorley »

While it's fine for me, I can't promise that it will work everywhere in the world. The skin .ini file should really be encoded as UTF-16 LE, and not ANSI. All Rainmeter skin .ini and .inc files should really be encoded as UTF-16 LE Unicode.
User avatar
balala
Rainmeter Sage
Posts: 13516
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by balala »

Works here as well (Eastern Europe).
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by JelleDekkers »

ms310 wrote: December 2nd, 2020, 1:37 am For me the degree symbols don't appear.

2020-12-02_10h35_55.png
I've never seen this happen before, but I'll fix it.
User avatar
balala
Rainmeter Sage
Posts: 13516
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by balala »

JelleDekkers wrote: December 2nd, 2020, 9:01 am I've never seen this happen before, but I'll fix it.
This probably is caused by what jsmorley described in his above reply (the wrong encoding of files).
There is an extremely easy solution. Beside reencoding the files, replace the ° signs in the Substitute options of WebParser measures of both files, @Resources\WeatherParser.inc and @Resources\WeatherParserDaily.inc, with [\x00B0]. So for instance the Substitute="#Substitute#", "(.+)":"\1°", "":"--" option of the [mCurrentTemperature] measure of the @Resources\WeatherParser.inc file should be replaced by Substitute="#Substitute#", "(.+)":"\1[\x00B0]", "":"--".
Probably the reencoding should be enough, however I still suggest to replace the signs, as described above.
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by JelleDekkers »

balala wrote: December 2nd, 2020, 9:42 am This probably is caused by what jsmorley described in his above reply (the wrong encoding of files).
There is an extremely easy solution. Beside reencoding the files, replace the ° signs in the Substitute options of WebParser measures of both files, @Resources\WeatherParser.inc and @Resources\WeatherParserDaily.inc, with [\x00B0]. So for instance the Substitute="#Substitute#", "(.+)":"\1°", "":"--" option of the [mCurrentTemperature] measure of the @Resources\WeatherParser.inc file should be replaced by Substitute="#Substitute#", "(.+)":"\1[\x00B0]", "":"--".
Probably the reencoding should be enough, however I still suggest to replace the signs, as described above.
I've just updated all of my (weather) skins to use UCS-2 LE BOM :)
ms310
Posts: 224
Joined: April 1st, 2015, 7:16 am

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by ms310 »

JelleDekkers wrote: December 2nd, 2020, 9:45 am I've just updated all of my (weather) skins to use UCS-2 LE BOM :)
Thank you!
iwantdrconnors
Posts: 2
Joined: October 26th, 2021, 11:04 am

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by iwantdrconnors »

Skin does not want to work anymore. Don't know if it is because Sweden (where I live) have changed weather system (warning system).
User avatar
balala
Rainmeter Sage
Posts: 13516
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Google Weather (JD Edition) by Jelle Dekkers (Original by fivetwofoureight)

Post by balala »

iwantdrconnors wrote: October 26th, 2021, 11:08 am Skin does not want to work anymore. Don't know if it is because Sweden (where I live) have changed weather system (warning system).
No, the skin doesn't work for me either. Probably the author, JelleDekkers will be needed here.