integer UTF8Length(string msg) { //Simple and efficient! //Release to the public domain by kimmie Loveless integer rNum = llStringLength(msg); return rNum + ((llStringLength(llEscapeURL(msg)) - rNum)/4); }