Yep, both files (ini and lua) are UTF-16 LE BOM. That’s what bugs me, there shouldn’t be any conversion issue.Are all the files encoded properly (UTF16 LE BOM)? Looks suspiciously like a string conversion issue (buffer overflow?). The "curly quote" is above the usual ANSI range of characters.
Plus, the problem occurs when passing from rainmeter to lua, not when returning from lua to rainmeter. The fact is that lua receives the cut-off string, and that’s what it returns.
If you use GetVariable to get the string there’s no issue. So maybe is related to Section Variables
Statistics: Posted by RicardoTM — June 3rd, 2025, 10:30 pm