Hi Bruce,
unicode plugin calls ppsv->RegisterSig and it works:
e.g. when script
local uStr1 = unicode.from_utf8("\xC3\x80")
is run first time, uStr1 is u_3001;
in debugger the callback specified in ppsv->RegisterSig is called.
When same line of code run again, uStr1 is u_3001, again, as it should be.
But:
unicode.from_utf8 calls ppsv->ReturningFreeableHandle() (verfiied in debugger)
but
win.debug(unicode.from_utf8("\xC3\x80"))
win.debug(unicode.from_utf8("\xC3\x80"))
assigns two handles, u_3001 and u_3002, and the callback to release tempory
handle (same as used for killing off a local, yah?) never gets called in
debugger
Unless you can suggest what I'm doing wrong, could you run
win.debug(unicode.from_utf8("\xC3\x80"))
under your debugger and see what might be going on?
I'm pretty sure releasing temporary handles used to work. ...