MEMOWRIT

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
SALINETAS24
Posts: 667
Joined: Tue Feb 27, 2018 3:06 am
DBs Used: DBF
Contact:

MEMOWRIT

Post 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
Como dijo el gran pensador Hommer Simpson..., - En este mundo solo hay 3 tipos de personas, los que saben contar y los que no. :shock:
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: MEMOWRIT

Post 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=
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: MEMOWRIT

Post by AUGE_OHR »

hi,

what about

Code: Select all

MEMOWRIT( HB_STRTOUTF8 (<cStr> [, <cCPID> ] ) )
have fun
Jimmy
Post Reply