well i think i pretty much figured it out, thanks anyway

$com(name,vUTF8toUni,3,bstr,%text)
returns a value 1 or 0 depending on success status, then $com(name).result,
it works that way, is that the right way tho, or is there a better way that i am missing?