Table of Contents

IsUTF8 function

Description

Returns whether or not the string data is interpreted as UTF-8 or ANSI characters.

Syntax

bUTF8 = IsUTF8()

Note

This is the programmatic equivalent as reading the status of the UTF8 Character Mode checkbox in the System Editor, Form Designer, or Application Properties.

See Also

SetUTF8 subroutine

Example

declare function IsUTF8

if IsUTF8()= 1 then

   call msg(@window, "Characters are interpreted as UTF-8.")

end else

   call msg(@window, "Characters are interpreted as ANSI..")

end