It is currently April 27th, 2024, 3:02 pm
Get help with creating, editing & fixing problems with skins
Kolano
Posts: 24 Joined: October 23rd, 2015, 11:54 pm
Post
by Kolano » December 14th, 2023, 6:55 am
When attempting to use the degrees symbol (°) in a String meter...
Code: Select all
[MeterCPUCore1Text]
Meter=String
MeterStyle=Style
MeasureName=MeasureCPUTempCore1
MeasureName2=MeasureCPUClock1
Text=Core 1: %2Ghz %1° C
Y=(-#GraphHeight# / 4)r
...it's displayed with an A with circumflex (Â) before it. So displayed text looks like "Core 1: 5528Ghz 23° C.
Brian
Developer
Posts: 2686 Joined: November 24th, 2011, 1:42 am
Location: Utah
Post
by Brian » December 14th, 2023, 8:43 am
Kolano
Posts: 24 Joined: October 23rd, 2015, 11:54 pm
Post
by Kolano » December 14th, 2023, 9:00 am
Thanks, hadn't realized the need to save to UTF 16 LE.
balala
Rainmeter Sage
Posts: 16176 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » December 14th, 2023, 10:31 am
Definitely have to encode the files as UTF-16LE, this is for sure, however instead of using the degree character in your codes (° ) you can use this: [\x00B0] (Text=Core 1: %2Ghz %1[\x00B0] C ).
This way you get as well a character of degree.