It is currently April 26th, 2024, 1:22 pm

Using Cyrillic / Hieroglyphics in .ini??? how to?

Get help with creating, editing & fixing problems with skins
User avatar
~Faradey~
Posts: 366
Joined: November 12th, 2009, 4:47 pm
Location: Ukraine

Using Cyrillic / Hieroglyphics in .ini??? how to?

Post by ~Faradey~ »

It seems that Rainmeter can operate only with latin letters? or not?
Here is my problem: for exemple (! old pic !)
Image
Skin for Winamp. All meter shows right info from measures, but when i need find info about song using google url it returns ==> "?????"
http://google.com.ua/....=????+-+Love+Addict......
and i need ...
Even if i'll add info manualy

[Variables]
Track=中島美嘉 - Love Addict


after refresh i'll get
[Variables]
Track=???? - Love Addict


Same problem with Cyrillic

Any thoughts how to fix it? Please help :ugeek:
User avatar
kenz0
Developer
Posts: 263
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: Using Cyrillic / Hieroglyphics in .ini??? how to?

Post by kenz0 »

It's only ASCII and the default ANSI of your Windows that Rainmeter can operate basically.
However, Unicode can be used now in the latest 1.2-beta.
So try saving config file as UTF-16 (little-endian, with BOM).
~Faradey~ wrote:Even if i'll add info manualy

[Variables]
Track=中島美嘉 - Love Addict

after refresh i'll get
[Variables]
Track=???? - Love Addict

Same problem with Cyrillic
The above issue should be solved by this at least. But I think that the following winamp problems have a little bit different cause so if actual skin is not seen, I cannot say anything.
~Faradey~ wrote:Skin for Winamp. All meter shows right info from measures, but when i need find info about song using google url it returns ==> "?????"
Quote:
http://google.com.ua/....=????+-+Love+Addict......

and i need ...
Quote:
http://www.google.com.ua/中島美嘉+-+Love+Addict.....
.
Image
User avatar
~Faradey~
Posts: 366
Joined: November 12th, 2009, 4:47 pm
Location: Ukraine

Re: Using Cyrillic / Hieroglyphics in .ini??? how to?

Post by ~Faradey~ »

kenz0
Actually i'm working on skin what can find covers on current played track. And it works fine, but not with Cyrillic & Hieroglyphics :(
I was thinking about Unicode and it helps incompletely. Saving in UTF-8 helps to save Hieroglyphics manualy. But not automaticly
Using this

Code: Select all

["#ADDONSPATH#NirCmd\NirCmd.exe" inisetval "#CURRENTPATH#CoverArtFinder\CoverArtFinder.ini." Variables Track "[MeasureTrack]"]
i get

Code: Select all

[Variables]
Track=???? - ETERNAL BLAZE    
manually typed in

Code: Select all

["#ADDONSPATH#NirCmd\NirCmd.exe" inisetval "#CURRENTPATH#CoverArtFinder\CoverArtFinder.ini." Variables Track "水樹奈々- ETERNAL BLAZE"]
works fine =)

...and i think this is end( Seems its in Rainmeter problem..
User avatar
kenz0
Developer
Posts: 263
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: Using Cyrillic / Hieroglyphics in .ini??? how to?

Post by kenz0 »

NirCmd cannot write any Unicode characters. After all, I guess that it is all causes of this problem.
.
Image