Fwh 23.10 TGet another problem (UNSOLVED)

Fwh 23.10 TGet another problem (UNSOLVED)

Postby Horizon » Mon Nov 06, 2023 7:55 am

Hi,

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

any help?
Last edited by Horizon on Sat Nov 18, 2023 6:56 am, edited 2 times in total.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem

Postby Horizon » Mon Nov 06, 2023 5:22 pm

Hi Mr. Rao,

Code: Select all  Expand view
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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby Horizon » Tue Nov 07, 2023 7:33 am

Hi

Any comment?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby ertan » Tue Nov 07, 2023 7:48 am

perfectly worked for me. I have no problem
User avatar
ertan
 
Posts: 25
Joined: Wed Jul 26, 2023 12:08 pm
Location: Istanbul, Turkiye

Re: Fwh 23.10 TGet another problem

Postby Horizon » Tue Nov 07, 2023 9: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby ertan » Tue Nov 07, 2023 9:27 am

New and older versions of FW or SetUnicode() values no differences. same result. Maybe your font set is problem?
User avatar
ertan
 
Posts: 25
Joined: Wed Jul 26, 2023 12:08 pm
Location: Istanbul, Turkiye

Re: Fwh 23.10 TGet another problem

Postby Horizon » Tue Nov 07, 2023 9: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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby ertan » Tue Nov 07, 2023 9:37 am

My Database engine is SQL and I have not any problem so far.
User avatar
ertan
 
Posts: 25
Joined: Wed Jul 26, 2023 12:08 pm
Location: Istanbul, Turkiye

Re: Fwh 23.10 TGet another problem

Postby Horizon » Tue Nov 07, 2023 9:42 am

Hi,

I use dbf and dbfcdx.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby Horizon » Tue Nov 07, 2023 2:22 pm

Hi Mr. Rao,

any clue?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem

Postby nageswaragunupudi » Tue Nov 07, 2023 2:23 pm

Please help me.
Is this the right way to set Turkish language?

Code: Select all  Expand view
#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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem

Postby nageswaragunupudi » Tue Nov 07, 2023 2: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
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fwh 23.10 TGet another problem

Postby karinha » Tue Nov 07, 2023 2:44 pm

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

Re: Fwh 23.10 TGet another problem

Postby nageswaragunupudi » Tue Nov 07, 2023 2: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: Select all  Expand view
DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-16 CHARSET 162

Is this the right way?
Regards

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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 79 guests