Hello
Please see the attached image. I took the code that displays the degree symbol from the large text and copy/pasted it into the code for the small text. As you can see it prints out a funny A and the degree symbol. Strange.
I am using Sublime Text which is usually well behaved. I tried several fonts and even made the small text the same font as the big text, same result.
Any hints here? Why would one work and not the other? I feel like I am always chasing this issue and somehow eventually it resolves itself without me understanding what happened.
Thanks for the help!
It is currently April 19th, 2024, 12:56 am
Degree Symbol Issue
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Degree Symbol Issue
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Degree Symbol Issue
Try this: https://forum.rainmeter.net/viewtopic.php?f=5&t=30807&p=162121&hilit=degree#p162121
Accordingly you should have to modify the Text option this way: Text=%1 [\x00B0]#UnitTemp#. The [\x00B0] string will be replaced with a degree symbol.
Additional tip: don't include none of the options into quotation marks. That's why I didn't wrote the above option as Text="%1 [\x00B0]#UnitTemp#". Those quotation marks are simply not needed: https://forum.rainmeter.net/viewtopic.php?f=5&t=26350&p=137628&hilit=quote+enclose+option#p137628
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Degree Symbol Issue
Sorry for the previous post (I deleted it) - thank you - works perfectly.balala wrote: ↑May 29th, 2019, 6:42 am Try this: https://forum.rainmeter.net/viewtopic.php?f=5&t=30807&p=162121&hilit=degree#p162121
Accordingly you should have to modify the Text option this way: Text=%1 [\x00B0]#UnitTemp#. The [\x00B0] string will be replaced with a degree symbol.
Additional tip: don't include none of the options into quotation marks. That's why I didn't wrote the above option as Text="%1 [\x00B0]#UnitTemp#". Those quotation marks are simply not needed: https://forum.rainmeter.net/viewtopic.php?f=5&t=26350&p=137628&hilit=quote+enclose+option#p137628
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Degree Symbol Issue
You do not have the required permissions to view the files attached to this post.
-
- Posts: 442
- Joined: July 30th, 2014, 10:30 am
Re: Degree Symbol Issue
also, you can save the file with encoding -> UTF-16 LE in Sublime text editor to fix any further issue with the charactears:
or in the way balala used searching for the character code you want using UTF-8 (hex) or UTF-16 (hex) encoding method and using it in a Rainmeter .ini file in this form: [\x UTF code].
or in the way balala used searching for the character code you want using UTF-8 (hex) or UTF-16 (hex) encoding method and using it in a Rainmeter .ini file in this form: [\x UTF code].
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Degree Symbol Issue
Right, now i see it. I'm glad you got it working.