Platform: W10 pro Fr
Description: The GUI of the user variables editing doesn't display any character(s) "+" of string variables. Spaces are displayed instead.

Does anyone have a tip ?
Moderators: leecollings, remb0
Did you try your own solution? I don't think this is the issue.
Code: Select all
local testString = "123\\+456"
domoticz.log('Test string with escaped +: ' .. testString, domoticz.LOG_DEBUG)
Code: Select all
local testString = "123" .. string.char(43) .. "456"
Code: Select all
local testString = [[123+456]]
Code: Select all
plus%2Bplus
Why does Domoticz's script encode a string type user variable that is saved as a string in the SQLite database? What is the point, if not to be able to enter certain characters in the GUI ?waltervl wrote: ↑Wednesday 12 February 2025 23:53 Use %2B
EgShould show 'plus+plus'Code: Select all
plus%2Bplus
Users browsing this forum: No registered users and 1 guest