tget for chinese characters
tget for chinese characters
Hi Antonio,
How to amend the TGET.PRG so that it can work like TEDIT.PRG
for two characters support (Chinese, etc.) without set the FW_SETUNICODE(.T.).
Regards and thanks
How to amend the TGET.PRG so that it can work like TEDIT.PRG
for two characters support (Chinese, etc.) without set the FW_SETUNICODE(.T.).
Regards and thanks
- Antonio Linares
- Site Admin
- Posts: 42603
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 43 times
- Been thanked: 88 times
- Contact:
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: tget for chinese characters
it can work like TEDIT.PRG
Where is the TEDIT.PRG please ?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Enrico Maria Giordano
- Posts: 8767
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 5 times
- Contact:
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: tget for chinese characters
Enrico Maria Giordano wrote:source\classes\edit.prg
EMG
Can we see an example of using Unicode text in Edit control without setting FW_SetUnicode( .T. ) ?
Thanks in advance.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- richard-service
- Posts: 808
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Has thanked: 2 times
- Contact:
Re: tget for chinese characters
HI
I think TEdit.prg not work Unicode and 2 bytes Chinese.
Long time ago, FWH not support Unicode and 2 bytes Chinese. so I modify TGet.prg to support 2 bytes Chinese(not unicode and not support XP Themes)
When I run MiniGUI, I found TEdit replace TGet within MiniGUI. so I suggestion Antonio to make TEdit.prg , not I think not work and return use TGet.prg( modify support Chinese )
But I don't know new FWH TEdit support 2 bytes Chinese and Use or not FW_SetUnicode( .T. )
I think TEdit.prg not work Unicode and 2 bytes Chinese.
Long time ago, FWH not support Unicode and 2 bytes Chinese. so I modify TGet.prg to support 2 bytes Chinese(not unicode and not support XP Themes)
When I run MiniGUI, I found TEdit replace TGet within MiniGUI. so I suggestion Antonio to make TEdit.prg , not I think not work and return use TGet.prg( modify support Chinese )
But I don't know new FWH TEdit support 2 bytes Chinese and Use or not FW_SetUnicode( .T. )
Best Regards,
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: tget for chinese characters
TEdit control uses Windows native Edit control. It can only handle either ANSI or Unicode. There is nothing we can do about it.
This is what is required.
so I modify TGet.prg to support 2 bytes Chinese(not unicode and not support XP Themes)
This is what is required.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: tget for chinese characters
Mr alfredlam
Richard's help would be highly useful.
Meanwhile would you mind sharing with us how with Edit control you are able to enter Chinese characters? We may try to make TGet behave like Edit control. Are you setting any Chinese codepage like CP950 or BIG5 ?
Richard's help would be highly useful.
Meanwhile would you mind sharing with us how with Edit control you are able to enter Chinese characters? We may try to make TGet behave like Edit control. Are you setting any Chinese codepage like CP950 or BIG5 ?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- richard-service
- Posts: 808
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Has thanked: 2 times
- Contact:
Re: tget for chinese characters
alfredlam wrote:Exactly, Richard would you please amend the Tget.prg again ?
Mr alfredlam
I will send TGet.prg to Mr.Rao
This TGet.prg not support XP Themes.
If you want to use CP950 or BIG5 of Chinese, I think you will get Unicode Chinese word problem.
Best Regards,
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: tget for chinese characters
Mr Richard
Thanks
Mr Alfredlam does not want to use Unicode.
Yes, Unicode application is not compatible with BIG5 or CP950.
Can you please clarify as to how can we test entering Chinese characters into your TGet class? We do not have Chinese keyboard. I believe the on-screen Chinese keyboard of Windows enters only utf8 characters.
Thanks
If you want to use CP950 or BIG5 of Chinese, I think you will get Unicode Chinese word problem.
Mr Alfredlam does not want to use Unicode.
Yes, Unicode application is not compatible with BIG5 or CP950.
Can you please clarify as to how can we test entering Chinese characters into your TGet class? We do not have Chinese keyboard. I believe the on-screen Chinese keyboard of Windows enters only utf8 characters.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: tget for chinese characters
Seems has been discussed the same issue on
viewtopic.php?f=3&t=22508&hilit=chinese+get
viewtopic.php?f=3&t=22508&hilit=chinese+get
- richard-service
- Posts: 808
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Has thanked: 2 times
- Contact:
Re: tget for chinese characters
alfredlam wrote:Seems has been discussed the same issue on
viewtopic.php?f=3&t=22508&hilit=chinese+get
Mr alfredlam
Yes. I think you'll meet end user input Unicode word and appear "???". Because you use old TGet 2byes solution not XP Themes( CP950/BIG5 )
Best Regards,
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
Re: tget for chinese characters
Dear Richard.
How to set XP Themes( CP950/BIG5 ) ?
Thanks and regards
alfred
How to set XP Themes( CP950/BIG5 ) ?
Thanks and regards
alfred