Hi Jafar,
This works for me:
SetAnsi(TRUE)
MemoWrit(cFileNmIni,cContent)
The memowrit( help page tells more about Ansi
Does this help you ?
John
Op 24-11-2023 om 17:25 schreef Jafar:
I am trying to change the way ini files created in an application since they are created as utf8 by default which causes problems when writing to these ini files.
I tried several things like calling SetAnsi with a true flag, but nothing seems to help.
Does anyone know how I can change the encoding of a file from UTF8 to Ansi?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)