Problem with oemtoansi

Problem with oemtoansi

Postby Silvio.Falconi » Wed May 31, 2017 9:11 am

I use hb_OemToAnsi function on Harbour

Code: Select all  Expand view  RUN
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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7088
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem with oemtoansi

Postby nageswaragunupudi » Wed May 31, 2017 10:22 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10682
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Problem with oemtoansi

Postby Silvio.Falconi » Wed May 31, 2017 2:30 pm

Now I use Harbour and not xharbour
and I tried oemtoansi also on harbour and not run here

Image

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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7088
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem with oemtoansi

Postby nageswaragunupudi » Wed May 31, 2017 3: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
User avatar
nageswaragunupudi
 
Posts: 10682
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Problem with oemtoansi

Postby Silvio.Falconi » Thu Jun 01, 2017 9: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7088
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 24 guests