Finally, this one is doing LiveCode unicode to Windows UTF-16... So Decode incoming DataRef as UTF-16 stringref, convert line endings, encode as UTF-16 dataref and append NULs as appropriate.