03.11.2020, 11:13
(03.11.2020, 11:05)admin Wrote: You can add UTF-8 byte order mark to your CSV like this:
Code:bom = string.char(0xEF, 0xBB, 0xBF)
csv = bom .. table.concat(errorBuffer, '\r\n')
result, err = io.writefile ('/home/ftp/' .. errorFile, csv)
As always, the help in here is fast and on the spot! Thx again!
There are 10 kinds of people in the world; those who can read binary and those who don'tÂ