Don't click here unless you want to be banned.

LSL Wiki : KimmieLoveless

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ia360925.us.archive.org
The proper way to get the size in bytes of a UTF8 string.
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);
}
There is no comment on this page. [Display comments/form]