unicodePlugin0.73_090902.zip
in
http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/
; musical G clef == 0xD834 0xDD1E
local uStr = unicode.from_nums(0x1D11E)
unicode.set_base(0)
;gives expected results
win.debug(win.hex(uStr[0]), win.hex(uStr[1]))
win.debug(case("tonumx", uStr.to_utf8))
; didn't give same result
; your function, may have used out of sate version
win.debug(ReturnUTF8(0x1D11E))
;but same goes for < 0xFFFF
win.debug(case("tonumx", unicode.from_nums(0x1D11).to_utf8))
ReturnUTF8(0x1D11)