Here is a specific example. At a command (CMD) prompt, the following command:
Code: Select all
powershell -NonInteractive -Command "(([cultureinfo]::currentculture='ru-RU').DateTimeFormat.AbbreviatedMonthNames[0..11]) -Join '|'"
янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек
However, the following skin returns gibberish...
Code: Select all
[Rainmeter]
AccurateText=1
DynamicWindowSize=1
Update=1000
OnRefreshAction=[!CommandMeasure MeasureRunGetMonthNames "Run"]
[MeasureRunGetMonthNames]
Measure=Plugin
Plugin=RunCommand
Parameter="powershell -NonInteractive -Command "(([cultureinfo]::currentculture = 'ru-RU').DateTimeFormat.AbbreviatedMonthNames[0..11]) -Join '|'""
OutputType=ANSI
;OutputType=UTF-16
State=Hide
Timeout=2000
Substitute="#CRLF#":""
[MeterText]
Meter=String
SolidColor=0,0,0,255
FontColor=255,255,255,255
FontSize=12
Padding=8,8,8,8
X=0
Y=0
Text="Months: [MeasureRunGetMonthNames]"
DynamicVariables=1
With UTF-16 output, I get: 㼿簿㼿簿㼿簿㼿簿㼿簿㼿簿㼿簿㼿簿㼿簿㼿簿㼿簿㼿ി
I'm using the latest Rainmeter beta. Any ideas?