Fwh 23.10 TGet another problem (UNSOLVED)

Horizon
Posts: 1323
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

Hi Mr. Rao, Antonio,

I think I spoke too soon. Even though I defined FW_Unicode(.f.) at the beginning of my application, when I press "Ğ" in the GET field, it looks correct, but the unicode comes to the variable as CHR(196)+CHR(158). This doesn't work for me. After each Get field, I have to deal with thousands of GET fields to convert from Unicode to Ansi.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by nageswaragunupudi »

Please give me a little more time.
Regards

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

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by nageswaragunupudi »

Meanwhile, can you please let me know
1. What result you get for this statement?

Code: Select all | Expand

? STRTOHEX( AnsiToWide( Chr(208) ) )
2. Do you always set HB_CDPSELECT( "TRWIN" ) or some similar codepage in your application?
If so, what is the result of the 1st question before and after setting the codepage?
Regards

G. N. Rao.
Hyderabad, India
Horizon
Posts: 1323
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

nageswaragunupudi wrote:Meanwhile, can you please let me know
1. What result you get for this statement?

Code: Select all | Expand

? STRTOHEX( AnsiToWide( Chr(208) ) )
2. Do you always set HB_CDPSELECT( "TRWIN" ) or some similar codepage in your application?
If so, what is the result of the 1st question before and after setting the codepage?
Hi Mr. Rao,

1. "1E01"
2. I always use HB_CDPSELECT( "TRWIN" ).
Regards,

Hakan ONEMLI

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

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

up
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
User avatar
ertan
Posts: 25
Joined: Wed Jul 26, 2023 12:08 pm
Location: Istanbul, Turkiye

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by ertan »

Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by nageswaragunupudi »

ertan wrote:Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?
That should not make any difference.
If you have problem with any one you will have problem with all others.
Regards

G. N. Rao.
Hyderabad, India
Horizon
Posts: 1323
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

Hi mr. Rao,

any change?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by nageswaragunupudi »

Yes, please wait a little
Regards

G. N. Rao.
Hyderabad, India
Horizon
Posts: 1323
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

I am waiting. :lol:
Regards,

Hakan ONEMLI

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

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

up
Regards,

Hakan ONEMLI

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

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

just a reminder
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by nageswaragunupudi »

Can you please help us by doing this small test?

Code: Select all | Expand

#include "fivewin.ch"

function Main()

   local oDlg, oGet
   local cVar  := PADR( "ABC", 15 )

   FW_SetUnicode( .f. )

   DEFINE DIALOG oDlg SIZE 300,150 PIXEL TRUEPIXEL

   @ 20,20 GET oGet  VAR cVar SIZE 200,24 PIXEL OF oDlg

   @ 90,20 BUTTON "OK" SIZE 100,40 PIXEL OF oDlg ;
      ACTION MsgInfo( IsWindowUnicode( oGet:hWnd ) )

   ACTIVATE DIALOG oDlg CENTERED

return nil
 
In this test, please click the button and let us know whether you get the result .T. or .F. ?
Regards

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

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by nageswaragunupudi »

ertan wrote:Hi again,

Do you use tdatarow edit dialogs or your own dialogs or window?
Can you please let us know (1) FWH version you are using? (2) Are you using FW_SetUnicode( .T. ), (3) Are you facing the same issues as Mr. Hakkan?
Regards

G. N. Rao.
Hyderabad, India
Horizon
Posts: 1323
Joined: Fri May 23, 2008 1:33 pm

Re: Fwh 23.10 TGet another problem (UNSOLVED)

Post by Horizon »

nageswaragunupudi wrote:Can you please help us by doing this small test?

Code: Select all | Expand

#include "fivewin.ch"

function Main()

   local oDlg, oGet
   local cVar  := PADR( "ABC", 15 )

   FW_SetUnicode( .f. )

   DEFINE DIALOG oDlg SIZE 300,150 PIXEL TRUEPIXEL

   @ 20,20 GET oGet  VAR cVar SIZE 200,24 PIXEL OF oDlg

   @ 90,20 BUTTON "OK" SIZE 100,40 PIXEL OF oDlg ;
      ACTION MsgInfo( IsWindowUnicode( oGet:hWnd ) )

   ACTIVATE DIALOG oDlg CENTERED

return nil
 
In this test, please click the button and let us know whether you get the result .T. or .F. ?
Hi Mr. Rao,

I have test both fwh 23.07 and fwh 23.10

The result is .F.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Post Reply