Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #18799

Re: How do I create a file in Ansi format?

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How do I create a file in Ansi format?
Date 2023-11-24 18:33 +0100
Organization A noiseless patient Spider
Message-ID <ujqmp8$2dii9$1@dont-email.me> (permalink)
References <6f9702cf-9b4d-45c9-b73c-68d83449bdc3n@googlegroups.com>

Show all headers | View raw


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?

Back to comp.lang.clipper.visual-objects | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How do I create a file in Ansi format? Jafar <jafar@marti-orbak.nl> - 2023-11-24 08:25 -0800
  Re: How do I create a file in Ansi format? JohnMartens <martens@tennishulp.info> - 2023-11-24 18:33 +0100
    Re: How do I create a file in Ansi format? Jafar <jafar@marti-orbak.nl> - 2023-11-27 00:40 -0800

csiph-web