FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with oemtoansi
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Problem with oemtoansi
Posted: Wed May 31, 2017 09:11 AM
I use hb_OemToAnsi function on Harbour

Code (fw): Select all Collapse
cNombre:= Str2Lines( hb_OemToAnsi( AllTrim(pr->DESC1) ), " " )


but I have problems with italian words have ì ù à ò è How I can resolve it ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Problem with oemtoansi
Posted: Wed May 31, 2017 10:22 AM

Why do you use oemtoansi() ?
What is the need at all?

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Problem with oemtoansi
Posted: Wed May 31, 2017 02:30 PM
Now I use Harbour and not xharbour
and I tried oemtoansi also on harbour and not run here



it write caffP instead of caffè
it write tP instead of tè
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Problem with oemtoansi
Posted: Wed May 31, 2017 03:04 PM

Better not to use oemtoansi(). That is history.
We now write programs in ANSI mode and store data in ANSI

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Problem with oemtoansi
Posted: Thu Jun 01, 2017 09:06 AM

Rao ok I'm converting an oldest clipper ( with fw) application ... :)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion