Hello,
In the manual under Character Reference Variables is the following bullet point: This is repeated again in the section about Finding those Unicode Values, third paragraph.
I have found that you can display characters above the BMP (above xFFFE) in Rainmeter, assuming of course that the font supports these characters. There are two ways to do this. The easiest is to encode the .ini file as UTF-16 LE as usual and simply use the character. This works OK as long as your editor font includes the character. The other way is to convert the "code point" into "code units". Surprisingly, this works perfectly in Rainmeter.
The site Unicode code converter has a tool which converts characters into code that can be used in several programming languages. Near the bottom it will show the character in "UTF-16 code units". These will work in Rainmeter.
P.S.: The manual refers to a Unicode resource (https://unicode-table.com/en/) that now redirects to https://symbl.cc/en/.
In the manual under Character Reference Variables is the following bullet point: This is repeated again in the section about Finding those Unicode Values, third paragraph.
I have found that you can display characters above the BMP (above xFFFE) in Rainmeter, assuming of course that the font supports these characters. There are two ways to do this. The easiest is to encode the .ini file as UTF-16 LE as usual and simply use the character. This works OK as long as your editor font includes the character. The other way is to convert the "code point" into "code units". Surprisingly, this works perfectly in Rainmeter.
The site Unicode code converter has a tool which converts characters into code that can be used in several programming languages. Near the bottom it will show the character in "UTF-16 code units". These will work in Rainmeter.
Code:
[Rainmeter]Update=1000AccurateText=1BackgroundMode=2DynamicWindowSize=1SolidColor=255,255,255,255; option 1 = use character directly[QueenOfHearts]Meter=StringAntiAlias=1FontColor=255,0,0FontFace=Segoe UIFontSize=160SolidColor=0,0,0,1; Unicode char is \x01F0BD Text="🂽"; option 2 = use code units (a code point split into 1 or more code units; chars must be sequential)[TenOfSpades]Meter=StringAntiAlias=1FontColor=0,0,0FontFace=Segoe UIFontSize=160SolidColor=0,0,0,1; Unicode char is \x01F0AAText="[\xD83C][\xDCAA]"X=0R
Statistics: Posted by SilverAzide — Today, 2:45 am — Replies 4 — Views 43