FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fwh 23.10 TGet another problem (SOLVED)
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Fwh 23.10 TGet another problem (SOLVED)
Posted: Mon Nov 06, 2023 07:55 AM

Hi,

Turkish characters are displayed as question mark in fwh 23.10. when FW_SetUnicode( .F. )

any help?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem
Posted: Mon Nov 06, 2023 12:34 PM

Please help me to understand more about Turkish characters.

Please copy and paste a string of characters with which you are having problems now.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem
Posted: Mon Nov 06, 2023 05:22 PM
Hi Mr. Rao,
Code (fw): Select all Collapse
A   Character   Ascii
1   Ğ            208
2   Ş            222
3   İ            221
4   ğ            240
5   ş            254
6   ı            253
When I press this characters from keyboard, it prints ?.

Thanks.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 07:33 AM

Hi

Any comment?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 07:48 AM

perfectly worked for me. I have no problem

Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 09:06 AM
ertan wrote:perfectly worked for me. I have no problem
Fwh 23.10 and FW_SetUnicode( .F. ) ?
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 09:27 AM

New and older versions of FW or SetUnicode() values no differences. same result. Maybe your font set is problem?

Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 09:31 AM
ertan wrote:New and older versions of FW or SetUnicode() values no differences. same result. Maybe your font set is problem?
There is not any problem fwh 23.07.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 61
Joined: Wed Jul 26, 2023 12:08 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 09:37 AM

My Database engine is SQL and I have not any problem so far.

Best regards,
Ertan,

ertan_ozturk@yahoo.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 09:42 AM

Hi,

I use dbf and dbfcdx.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 02:22 PM

Hi Mr. Rao,

any clue?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 02:23 PM
Please help me.
Is this the right way to set Turkish language?
Code (fw): Select all Collapse
#include "fivewin.ch"

REQUEST HB_LANG_TR
REQUEST HB_CODEPAGE_TRWIN

function Main()

   HB_LANGSELECT( "TR" )
   HB_CDPSELECT( "TRWIN" )
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 02:26 PM
Maybe your font set is problem?
Can you please clarify how to define fonts choosing Turkish Charset?
Regards



G. N. Rao.

Hyderabad, India
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 02:44 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 23.10 TGet another problem
Posted: Tue Nov 07, 2023 02:54 PM
nageswaragunupudi wrote:
Maybe your font set is problem?
Can you please clarify how to define fonts choosing Turkish Charset?
Got it, using CHARSET 162.
With this font definition I am able to see Turkish fonts for the above ASCII codes correctly
Code (fw): Select all Collapse
DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-16 CHARSET 162
Is this the right way?
Regards



G. N. Rao.

Hyderabad, India