I thought, when lua can't understand Unicode characters it can at least load .lua files in case path or skin's name has Unicode characters in it, but it can't...as i see in log:
Script: cannot open C:\Users\%UserName%\Documents\Rainmeter\Skins\TestSkin\?-???\lua1.lua: Invalid argument
I understand that making lua to understand unicade is tough task, but at least load it it should can, when path unicode formatted.
I personally don't have any unicode characters on my end, but considering that i put so much efforts on making my suite understanding (supporting) unicode (pretty much everywhere where it should) and having an Chinese language support i stumble on this problem...what if user name will be Unicode formated...so i did testing and created skin with unicode name. Results: skin loads and works as it should, lua doesn't...
this is how lua measure in skin looks like:
Code: Select all
[LuaMeasure]
Measure=Script
ScriptFile="#CURRENTPATH#lua1.lua"
UpdateDivider=-1
Code: Select all
PROPERTIES =
{
}
function Initialize()
print("I'm INITIALIZING!")
end -- function Initialize
function Update()
print("I RAN!")
end -- function Update
Or am I doing something wrong?