It is currently March 28th, 2024, 2:01 pm

Custom CoreTemp skin shows weird symbol between the actual temperature and the °C sign.

Get help with creating, editing & fixing problems with skins
Post Reply
SomuSysAdmin
Posts: 2
Joined: September 21st, 2017, 6:39 pm

Custom CoreTemp skin shows weird symbol between the actual temperature and the °C sign.

Post by SomuSysAdmin »

My plugin code is:

Code: Select all

; Lines starting ; (semicolons) are commented out.
; That is, they do not affect the code and are here for demonstration purposes only.
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
Update=1000
Background=#@#Background.png
; #@# is equal to Rainmeter\Skins\illustro\@Resources
BackgroundMode=3
BackgroundMargins=0,34,0,14

[Metadata]
; Contains basic information of the skin.
Name=CoreTemp
Author=Somu
Information=Shows info about CPU Temps
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0

[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205

; ----------------------------------
; MEASURES return some kind of value
; ----------------------------------

[measureTempCore0]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=0

[measureTempCore1]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=1

; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------

[styleTitle]
StringAlign=Center
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=Left
; Meters using styleLeftText will be left-aligned.
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightTextCore0]
StringAlign=Right
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontColor=152,251,152,205
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightTextCore1]
StringAlign=Right
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontColor=152,152,251,205
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleSeperator]
SolidColor=255,255,255,15

; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------

[meterTitle]
Meter=String
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text=CoreTemp
; Even though the text is set to Network, Rainmeter will display
; it as NETWORK, because styleTitle contains StringCase=Upper.

[meterCore0Label]
Meter=String
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text=Core #0

[meterCore0Temp]
Meter=String
MeterStyle=styleRightTextCore0
MeasureName=measureTempCore0
X=200
Y=0r
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text="%1 °C"
; %1 stands for the value of MeasureName (measureIP in this case).

[meterSeperator]
Meter=Image
MeterStyle=styleSeperator
X=10
Y=52
W=190
H=1

[meterCore1Label]
Meter=String
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text=Core #1

[meterCore1Temp]
Meter=String
MeterStyle=styleRightTextCore1
MeasureName=measureTempCore1
X=200
Y=0r
W=190
H=14
Text="%1 °C"
The output is:

Image

I don't know what that symbol is (probably Ā) after the temperature reading and before the °C sign. Please help me out guys, I'm a total noob in this!!
SomuSysAdmin
Posts: 2
Joined: September 21st, 2017, 6:39 pm

Re: Custom CoreTemp skin shows weird symbol between the actual temperature and the °C sign.

Post by SomuSysAdmin »

Nevermind, guys - I was searching for the wrong character on Google. The right Character is Â. So, the problem was the encoding. A detailed solution can be found here: https://forum.rainmeter.net/viewtopic.php?t=18290.

Basically, just change the present encoding (mine was UTF-8) to anything else like ANSI or UTF-16 LE. The later worked for me.

Cheers, buds! :D
Post Reply