this examples is a little out of context because I used a function to output a string as a row of hexadecimal bytes. I printed the string before call_delay and in the function. The string is definitely shortened in the call…
oops, sorry. I mixed up my Zero-termination with 8-bit only strings.
Doing a bit of further reading, there are a number of the string manipulation fns that would need to be avoided, or carefully handled, (such as string.format) when working with strings containing Zero termination chars.
The luup.* fns are all written in C, so if there’s a problem here, it’s probably in the way the values are kept and/or worked on that side (pushstring vs pushlstring type stuff)
If you’d like to see it fixed, you can shoot a ticket into Bugs.micasaverde.com, but it’ll be quicker to work around the problem.
Best Home Automation shopping experience. Shop at Ezlo!