FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Chinese characters in FWH
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Chinese characters in FWH
Posted: Sun Nov 25, 2012 02:29 PM

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.

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: Chinese characters in FWH
Posted: Sun Nov 25, 2012 04:25 PM

Hi, John

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

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Re: Chinese characters in FWH
Posted: Sun Nov 25, 2012 05:08 PM

Hi Richard,

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

Regards,

John.

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: Chinese characters in FWH
Posted: Mon Nov 26, 2012 12:03 AM
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 "?"
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: Chinese characters in FWH
Posted: Mon Nov 26, 2012 02:22 AM

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

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Re: Chinese characters in FWH
Posted: Mon Nov 26, 2012 06:13 AM

Ni Hao :D

so is there a way to bypass that unicode effect?

Regards,

John.

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: Chinese characters in FWH
Posted: Mon Nov 26, 2012 03:24 PM

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.

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Re: Chinese characters in FWH
Posted: Mon Nov 26, 2012 03:32 PM

Hi,

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

Regards,

John.

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: Chinese characters in FWH
Posted: Tue Nov 27, 2012 08:13 AM

Hi,

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

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Re: Chinese characters in FWH
Posted: Tue Nov 27, 2012 08:29 AM

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.

Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: Chinese characters in FWH
Posted: Wed Nov 28, 2012 02:15 AM

Here, www.xtech.com.cn/down/tget.prg
Regards!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: Chinese characters in FWH
Posted: Wed Nov 28, 2012 03:14 AM
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.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Re: Chinese characters in FWH
Posted: Wed Nov 28, 2012 06:25 AM

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.

Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: Chinese characters in FWH
Posted: Wed Nov 28, 2012 09:27 AM

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

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 67
Joined: Mon Dec 26, 2005 07:44 AM
Re: Chinese characters in FWH
Posted: Wed Nov 28, 2012 12:07 PM

what do you mean that this tGet doesnt support unicode? i thought this one would make it possible to input chinese characters?

Regards,

John.