Page 1 of 1

Strange difference between Harbour and xHarbour - Solved

Posted: Fri Jun 13, 2014 3:05 pm
by driessen
I need to send an email in French, containing é è ç à, etc.

So I send "éééèèèçççààà".

If I send an email to Outlook, I get "éééèèèçççààà" in my Outlook message, using xHarbour.
If I send an email to Outlook, I get "ΘΘn ΦΦΦααα" in my Outlook message, using Harbour.

I know : AnsitoOem() corrects this problem.

But why those differences?

Re: Strange difference between Harbour and xHarbour Builder

Posted: Fri Jun 13, 2014 3:22 pm
by Richard Chidiak
Michel

at the beginning of your application

REQUEST HB_CODEPAGE_FRWIN

set( _SET_CODEPAGE, "FRWIN" )

Frwin is for me, set the correct codepage harbour needs it

Hth

Richard

Re: Strange difference between Harbour and xHarbour Builder

Posted: Fri Jun 13, 2014 4:37 pm
by driessen
Thanks a lot.

Problem solved.