Page 1 of 2

Chinese characters in FWH

PostPosted: Sun Nov 25, 2012 2:29 pm
by John
Hi,

I have seen several old posts about using chinese characters in FiveWin, is there already a (good) solution to this one? (for GETting, saving in a DB and printing?)

I'm using FWH2.7.

Regards,

John.

Re: Chinese characters in FWH

PostPosted: Sun Nov 25, 2012 4:25 pm
by richard-service
Hi, John

I think yes, but some problem will be solve it.
Ex. Unicode and WinXP themes.

Re: Chinese characters in FWH

PostPosted: Sun Nov 25, 2012 5:08 pm
by John
Hi Richard,

you mean exclude WinXp manifest? What do you mean with ex unicode?

Regards,

John.

Re: Chinese characters in FWH

PostPosted: Mon Nov 26, 2012 12:03 am
by richard-service
John wrote:Hi Richard,

you mean exclude WinXp manifest? What do you mean with ex unicode?

Regards,

John.


>>you mean exclude WinXp manifest?
Yes, right.

>>What do you mean with ex unicode?
some Chinese characters, we input it became "?"

Re: Chinese characters in FWH

PostPosted: Mon Nov 26, 2012 2:22 am
by ShumingWang
The cursor shows wrong position. it seems unicode like 3 char length, after input a Chinese word, the cursor jump 3 char , but show right 2 char position.
Regards !
Shuming Wang

Re: Chinese characters in FWH

PostPosted: Mon Nov 26, 2012 6:13 am
by John
Ni Hao :D

so is there a way to bypass that unicode effect?

Regards,

John.

Re: Chinese characters in FWH

PostPosted: Mon Nov 26, 2012 3:24 pm
by richard-service
Hi,

we wait Unicode solution from xHarbour or FWH.
WinXP themes problem, Antonio make TEdit Class.
But it's simple, we need enhance more functions same as TGet Class.

Re: Chinese characters in FWH

PostPosted: Mon Nov 26, 2012 3:32 pm
by John
Hi,

any idea when xHarbour or FWH come with that solution? :-)

Regards,

John.

Re: Chinese characters in FWH

PostPosted: Tue Nov 27, 2012 8:13 am
by richard-service
Hi,

I think modify/enhance unicode function's source code.
Now, I think you can use FWH develop Chinese version App. No problem.

Re: Chinese characters in FWH

PostPosted: Tue Nov 27, 2012 8:29 am
by John
Hi Richard,

can you please tell me how i can do that? Develop a chinese version app? Do you have examples, libraries etc?

removing the XP manifest actually makes it worse in my app: with XP manifest i am able to at least GET chinese characters in a MEMO field (lost when saving) and without the manifest only ??? appears.

I also came across a very old message from FiveWin.com talking about a ChinGet.zip for FW1.9.2. But that one i cant find anymore.

Thanks in advance,

John.

Re: Chinese characters in FWH

PostPosted: Wed Nov 28, 2012 2:15 am
by ShumingWang
Here, www.xtech.com.cn/down/tget.prg
Regards!
Shuming Wang

Re: Chinese characters in FWH

PostPosted: Wed Nov 28, 2012 3:14 am
by richard-service
ShumingWang wrote:Here, http://www.xtech.com.cn/down/tget.prg
Regards!
Shuming Wang

Hi Wnag,

Any news TMySQL upgrade?
I lose QQ, have you cell phone number that we can use wechat software.

Re: Chinese characters in FWH

PostPosted: Wed Nov 28, 2012 6:25 am
by John
Hi Wang Shuming,

thanks for the tGet example. I just add that one to my RMK script or do i have to do more?

The next step would be saving the data, i dont have to change anything there? (still using DBF and FPT files).

Retrieving data should also be fine? And how about printing?

thanks in advance (sorry to bother everyone so much with it, but i really want my app to be able use chinese characters now! :P

Regards,

John.

Re: Chinese characters in FWH

PostPosted: Wed Nov 28, 2012 9:27 am
by ShumingWang
To print Chiense words,To save data to DBF ,they are the same as English chars.
But tget.prg do not support Unicode either.
Shuming Wang

Re: Chinese characters in FWH

PostPosted: Wed Nov 28, 2012 12:07 pm
by John
what do you mean that this tGet doesnt support unicode? i thought this one would make it possible to input chinese characters?

Regards,

John.