how to tell whether external file is unicode formatted or not

Curt Ford curt at
Sun Dec 20 21:41:53 EST 2009

My app reads in external files that are stored as plain text, but the encoding can vary. Is there a way to tell whether the encoding is Unicode or not, so I can tell how to process the text (without asking the user, who may not know)?



Curt Ford
Sona Software LLC

More information about the Use-livecode mailing list