Finding invisible/non printable characters in a string

Paul Dupuis paul at
Mon May 10 10:08:08 EDT 2021

There are characters that consist of more than one codepoint - composite 
versions of characters for accents. See

I think the best way is to scan the codepoints looking for 
codePointToNum values that are 0-31 (exclude tab and cr/lfs if you like) 
and 127 (DEL). There may be some others in the 128-255 range that are 
not printable. I forget off the top of my head.

On 5/10/2021 5:49 AM, David V Glasgow via use-livecode wrote:
> Hi folks, hope everyone is well.
> Would I be right in thinking if codepoint count > the number of chars in a text string, then it probably contains invisible characters?
> Or would I need to search through Hex to check?
> Or something much easier and cleverer that I hadn’t even considered.  Because that’s what this list and working with Livecode is like.
> Cheers
> David Glasgow
> _______________________________________________
> 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