Acento del modo de consola para Windows.

Acento del modo de consola para Windows.

Postby karinha » Tue Oct 19, 2021 11:57 am

Acento del modo de consola para Windows.

Buen día.

¿Cómo transformo el acento de una base de datos grabada en modo consola en acento para Windows?

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7843
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Acento del modo de consola para Windows.

Postby Antonio Linares » Tue Oct 19, 2021 12:49 pm

João,

OemToAnsi() and AnsiToOem()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42126
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Acento del modo de consola para Windows.

Postby karinha » Tue Oct 19, 2021 4:06 pm

Perfecto Master.

Resuelto con:

Code: Select all  Expand view  RUN

   OemToAnsi()

Ejemplo:

    cCNomeProd := OemToAnsi( ( DBCADTPSER )->TPSERNOME )
 


Gracias.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7843
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests