Page 1 of 1

MEMOWRIT

Posted: Sat Mar 06, 2021 9:31 pm
by SALINETAS24
Hola a todos.
¿Hay alguna forma que cuando se genera un fichero con MEMOWRIT este sea en UTF8 en lugar de ANSI.?

Si pongo

MEMOWRIT(cCarpeta+cNombrePro+".PRG","// Líneas del proyecto")

Me genera un PRG en formato ANSI.., me gustaría que ya saliese en formato UTF8

MUCHAS GRACIAS

Re: MEMOWRIT

Posted: Sat Mar 06, 2021 11:03 pm
by danielmaximiliano
desde la linea de cmd
"C:\Program Files (x86)\GnuWin32\bin\iconv.exe" -f cp1251 -t utf-8 source.txt > result.txt
Iconv par Windows https://sourceforge.net/projects/gnuwin ... &download=

Re: MEMOWRIT

Posted: Sat Mar 06, 2021 11:39 pm
by AUGE_OHR
hi,

what about

Code: Select all

MEMOWRIT( HB_STRTOUTF8 (<cStr> [, <cCPID> ] ) )