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


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

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

Newsgroups comp.lang.clipper.visual-objects
Date 2023-11-27 00:40 -0800
References <6f9702cf-9b4d-45c9-b73c-68d83449bdc3n@googlegroups.com> <ujqmp8$2dii9$1@dont-email.me>
Message-ID <84bf4d8b-d49a-4aa9-9f6c-912edf70e650n@googlegroups.com> (permalink)
Subject Re: How do I create a file in Ansi format?
From Jafar <jafar@marti-orbak.nl>

Show all headers | View raw


Op vrijdag 24 november 2023 om 18:33:31 UTC+1 schreef JohnMartens:
> 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?

I have already tried using SetAnsi(TRUE), but that doesn't help. Even with MemoWrit the encodings is still UTF-8.

Back to comp.lang.clipper.visual-objects | Previous | NextPrevious 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