>I need to create file with utf-8 encoding not ansi. File is created with low level functions fputs, fwrite. I can save as utf-8 with notepad or some other tools but I need it from prg. Remark is that is VFP6 so I can't use STRCONV(xx,9) from next version.
>
>Thanks in advance.
obj = CreateObject("ADODB.Stream")
obj.CharSet = "utf-8"
obj.Open()
obj.WriteText("Тест за UTF-8")
obj.SaveToFile("D:\TEST.TXT")
obj.Close()
NOT TESTES
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.