It is currently July 12th, 2020, 2:48 am

Missing Font or UTF-8 Problem in windows 10?

Report bugs with the Rainmeter application and suggest features.
jsfotografie
Posts: 2
Joined: December 13th, 2019, 5:35 pm

Missing Font or UTF-8 Problem in windows 10?

Post by jsfotografie »

hey all after a long fight i finaly got reainmeter weather include in my widged which i love but that missing °C drives me nuts :twisted:
missing font or utf-8.PNG
im on the latest build of Windows 10

any idea how i can get the "°" and get rid of the stupid ? :???:

hope its easy
thx
Janosch
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 11009
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Missing Font or UTF-8 Problem in windows 10?

Post by balala »

Please post a name and a link of the skin in cause.
User avatar
Jeff
Posts: 140
Joined: September 3rd, 2018, 11:18 am

Re: Missing Font or UTF-8 Problem in windows 10?

Post by Jeff »

As a hotfix untill we find out if it's a problem with your fonts (or probably just UTF-8), add
InLineSettings= Face | Arial
InLinePattern=°
to the meter (or MeterStyle) that use that symbol
User avatar
pul53dr1v3r
Posts: 378
Joined: July 30th, 2014, 10:30 am

Re: Missing Font or UTF-8 Problem in windows 10?

Post by pul53dr1v3r »

jsfotografie wrote:
December 13th, 2019, 5:40 pm
hey all after a long fight i finaly got reainmeter weather include in my widged which i love but that missing °C drives me nuts :twisted:
missing font or utf-8.PNG
im on the latest build of Windows 10

any idea how i can get the "°" and get rid of the stupid ? :???:

hope its easy
thx
Janosch
open the code and save it with encoding as follows:

UTF-16 LE (Windows Notepad.exe)
UCS-2 LE BOM (Notepad++)
UTF-16 LE (Sublime Text)
User avatar
jsmorley
Developer
Posts: 21014
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Missing Font or UTF-8 Problem in windows 10?

Post by jsmorley »

Yes, skin .ini files should always be encoded as Unicode UTF-16 Little Endian.

However, another approach is to use Character Variables in place of the literal Unicode characters. This can be useful for characters can can be displayed by the font your skin is using, but maybe not by the font your text editor is using.

Code: Select all

[MeterTemperature]
Meter=String
FontSize=15
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=32[\x00B0] F

1.png

Code: Select all

[MeterTemperature]
Meter=String
FontSize=15
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=32[\x00B0] F [\x2744]

2.png
You do not have the required permissions to view the files attached to this post.
User avatar
pul53dr1v3r
Posts: 378
Joined: July 30th, 2014, 10:30 am

Re: Missing Font or UTF-8 Problem in windows 10?

Post by pul53dr1v3r »

here is the skin with the character variable applied so just replace your with this one, if you wish that solution:
You do not have the required permissions to view the files attached to this post.
jsfotografie
Posts: 2
Joined: December 13th, 2019, 5:35 pm

Re: Missing Font or UTF-8 Problem in windows 10?

Post by jsfotografie »

wow what an amazin support forum :O so many answeres i installed this patch "win10_weather__patch_v2_0_1__by_eclectic_tech_dcwj6p5" downloaded from devianart no idea where this patch put the ini :???:

will try :D
thx janosch

edit: worked HURRY :D was easy :great: :rosegift: :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 11009
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Missing Font or UTF-8 Problem in windows 10?

Post by balala »

jsfotografie wrote:
December 13th, 2019, 6:55 pm
wow what an amazin support forum :O so many answeres
Completely agree! Usually we do our bests. :thumbup: