Fwh 23.10 TGet another problem (UNSOLVED)
Re: Fwh 23.10 TGet another problem (UNSOLVED)
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.
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
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Please give me a little more time.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Meanwhile, can you please let me know
1. What result you get for this statement?
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?
1. What result you get for this statement?
Code: Select all | Expand
? STRTOHEX( AnsiToWide( Chr(208) ) )
If so, what is the result of the 1st question before and after setting the codepage?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Hi Mr. Rao,nageswaragunupudi wrote:Meanwhile, can you please let me know
1. What result you get for this statement?2. Do you always set HB_CDPSELECT( "TRWIN" ) or some similar codepage in your application?Code: Select all | Expand
? STRTOHEX( AnsiToWide( Chr(208) ) )
If so, what is the result of the 1st question before and after setting the codepage?
1. "1E01"
2. I always use HB_CDPSELECT( "TRWIN" ).
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Re: Fwh 23.10 TGet another problem (UNSOLVED)
up
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Hi again,
Do you use tdatarow edit dialogs or your own dialogs or window?
Do you use tdatarow edit dialogs or your own dialogs or window?
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Fwh 23.10 TGet another problem (UNSOLVED)
That should not make any difference.ertan wrote:Hi again,
Do you use tdatarow edit dialogs or your own dialogs or window?
If you have problem with any one you will have problem with all others.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Hi mr. Rao,
any change?
any change?
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Yes, please wait a little
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Fwh 23.10 TGet another problem (UNSOLVED)
I am waiting.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Re: Fwh 23.10 TGet another problem (UNSOLVED)
up
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Re: Fwh 23.10 TGet another problem (UNSOLVED)
just a reminder
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Can you please help us by doing this small test?
In this test, please click the button and let us know whether you get the result .T. or .F. ?
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
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Fwh 23.10 TGet another problem (UNSOLVED)
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?ertan wrote:Hi again,
Do you use tdatarow edit dialogs or your own dialogs or window?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Fwh 23.10 TGet another problem (UNSOLVED)
Hi Mr. Rao,nageswaragunupudi wrote:Can you please help us by doing this small test?In this test, please click the button and let us know whether you get the result .T. or .F. ?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
I have test both fwh 23.07 and fwh 23.10
The result is .F.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04