Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1836

Bugs & Feature Suggestions • Re: Wrong string display when using " ’ "

$
0
0
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.
Yep, both files (ini and lua) are UTF-16 LE BOM. That’s what bugs me, there shouldn’t be any conversion issue.

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



Viewing all articles
Browse latest Browse all 1836

Trending Articles