Sorry for my another stupid question, but how to create a utf-16 encoded file (little endian) with BOM?
Help tells me to use the #PB_Unicode constant, but the result is completely different. Or should I write the first three bytes myself (FF FE 57) ?
Code: Select all
CreateFile(0, "test.txt", #PB_Unicode)
Thanks in advance.