Mark Waddingham mark at
Thu Mar 9 02:55:05 EST 2017

Hi Richard,

No, there is no such function as the byte length is a property of text which has been encoded with a specific encoding, not text in general.

the number of bytes in textEncode(tText, kEncoding)

Should give you what you need.

Warmest Regards,


Sent from my iPhone

> On 9 Mar 2017, at 02:37, Richard Gaskin via use-livecode <use-livecode at> wrote:
> the len() function returns a character count, but with Unicode this may be very different than the byte size.
> Do we have a size() or byteLen() function?
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at      
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list