Chinese characters in FWH

Chinese characters in FWH

Postby John » Sun Nov 25, 2012 2: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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Re: Chinese characters in FWH

Postby richard-service » Sun Nov 25, 2012 4: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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Chinese characters in FWH

Postby John » Sun Nov 25, 2012 5:08 pm

Hi Richard,

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

Regards,

John.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Re: Chinese characters in FWH

Postby richard-service » 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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Chinese characters in FWH

Postby ShumingWang » Mon Nov 26, 2012 2: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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Re: Chinese characters in FWH

Postby John » Mon Nov 26, 2012 6:13 am

Ni Hao :D

so is there a way to bypass that unicode effect?

Regards,

John.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Re: Chinese characters in FWH

Postby richard-service » Mon Nov 26, 2012 3: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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Chinese characters in FWH

Postby John » Mon Nov 26, 2012 3:32 pm

Hi,

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

Regards,

John.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Re: Chinese characters in FWH

Postby richard-service » Tue Nov 27, 2012 8: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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Chinese characters in FWH

Postby John » Tue Nov 27, 2012 8: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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Re: Chinese characters in FWH

Postby ShumingWang » Wed Nov 28, 2012 2: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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Re: Chinese characters in FWH

Postby richard-service » Wed Nov 28, 2012 3: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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Chinese characters in FWH

Postby John » Wed Nov 28, 2012 6: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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Re: Chinese characters in FWH

Postby ShumingWang » Wed Nov 28, 2012 9: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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Re: Chinese characters in FWH

Postby John » 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.
John
 
Posts: 67
Joined: Mon Dec 26, 2005 7:44 am
Location: The Netherlands

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 66 guests