Could [x]harbour+fwh support Unicode ?

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Could [x]harbour+fwh support Unicode ?

Post by ShumingWang »

Hi,
A case must support sevaral languages , some input datas from unicode files ,Could [x]harbour+fwh support Unicode ?

Thanks !

Shuming Wang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Shuming,

Yes. FWPPC uses unicode. FWH provides AnsiToWide() and WideToAnsi() so you can convert from ansi to unicode and viceversa.
regards, saludos

Antonio Linares
www.fivetechsoft.com
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

Antonio,
Could fwh directly display /say and input/get unicode/UTF-8 in a dialog ? diffrent languages items in one dialog , if convert items into ansi, may display discorder codes .

Best regard!

Shuming Wang
wktsang1
Posts: 5
Joined: Mon Mar 12, 2007 10:44 am

Post by wktsang1 »

ShumingWang wrote:Antonio,
Could fwh directly display /say and input/get unicode/UTF-8 in a dialog ? diffrent languages items in one dialog , if convert items into ansi, may display discorder codes .

Best regard!

Shuming Wang
Hi Mr Wang,

I am using FiveWin for xHarbour to development the application and also facing unicode problem, some Chinese character like the attached image is unable to type in the text box, it will show in '?' after typing.

http://202.146.109.43/testing/unicode.jpg

Do you facing the similar problem and have yopu solved the problem now? Would you give me some advice about this?

Regards,
Thomas
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

wktsang1 wrote:
ShumingWang wrote:Antonio,
Could fwh directly display /say and input/get unicode/UTF-8 in a dialog ? diffrent languages items in one dialog , if convert items into ansi, may display discorder codes .

Best regard!

Shuming Wang
Hi Mr Wang,

I am using FiveWin for xHarbour to development the application and also facing unicode problem, some Chinese character like the attached image is unable to type in the text box, it will show in '?' after typing.

http://202.146.109.43/testing/unicode.jpg

Do you facing the similar problem and have yopu solved the problem now? Would you give me some advice about this?

Regards,
Thomas
Hello Thomas,

Could you use Themes into your EXE file?
I know FWH's TGet not support 2 bytes(Chinese) input Chinese when your
application add Themes interface.
I know you can download unicode solution from web site. It support some
AP not support unicode font when you input unicode character.

Regards,

Richard
Fivetech.net Taiwan
User avatar
Ugo
Posts: 283
Joined: Sat Oct 15, 2005 6:40 am
Location: Turin, Italy

Post by Ugo »

Antonio Linares wrote:FWH provides AnsiToWide() and WideToAnsi() so you can convert from ansi to unicode and viceversa.
Antonio,
exist a function for test if are presents any UNICODE characters in the string?
Ciao, best regards,
Ugo
Post Reply