>Hi Antonio.
>
> In my case all I know is that the (very precise) Germans at the other end my data feed are telling me that mine is not a UTF-8 file.
>
>Nick
>
Nick, taking in account what Rick suggested, are you using something like this?
#define UTF8BOM (CHR(0xEF) + CHR(0xBB) + CHR(0xBF))
m.lnFile = FCREATE("output.xml")
FPUTS(m.lnFile,UTF8BOM + '<?xml version="1.0" encoding="UTF-8" ?>')
FPUTS(m.lnFile,'<docRoot><docTree /></docRoot>')
FCLOSE(m.lnFile)
----------------------------------
António Tavares Lopes