Is there a reasonably simple way to modify the following example code so that the output text file is UTF-8 ?
DIM sFName AS STRING
sFName = “file:///E:/Test.utf8”
OPEN sFName FOR OUTPUT ACCESS WRITE AS #1
REM Ignoring newline characters, the following string is written to the file as a single character - 0xA3.
PRINT #1 “£”
REM For UTF-8, it needs to have been written to the file as two characters - 0xC2 0xA3.
CLOSE #1