@UTF8ENCODE[s,string] : Create a text string (using the current code page) from a UTF8 input string. Returns the text string.

@UTF8ENCODE[inputfile,outputfile] : Encode a file from the current code page to UTF8. Returns 0 if the output file was successfully written.

 

Example:

 

echo %@utf8encode[s,This is a UTF8 string]

This is a UTF8 string