Assuming it's valid UTF8 already:

//var -sp %a t $+ $chr(233) $+ st $+ $chr(10004) $+ $chr(32) , %b $utfencode(%a) , %c $len(%b)

result: * Set %c to 9