FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour test using fw_unicode
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 11:31 AM
Enrico Maria Giordano wrote:Cristobal.

I just can't paste the chinese characters in the GET. When I try to paste them they change to question marks.

Any ideas?

EMG


Do not
In your program only thing I've done is add Fw_SetUnicode (.T.)
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 11:34 AM
Enrico Maria Giordano wrote:I'm using xHarbour. Does it make any differences?

EMG


Ah! that may be
I think Mr Rao also used xHarbour and has not commented have any problem

I do not use much xHarbour
I will do tests and comment
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 11:36 AM

Cristobal,

thank you.

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 11:39 AM

Enrico
Maybe missing the code library of pages in your build xHarbour
I Harbour I have

echo %hdirl%\hbcpage.lib + >> b32.bc

Tell me I can help

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 11:40 AM

Cristobal,

I just tried with harbour: same problem. I retried you EXE and there are problems too. Try to paste twice in the first field.

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 12:06 PM
We can compare your buildh.bat with mine

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 12:16 PM
Harbour Libs I use

Code (fw): Select all Collapse
aHLibs := { "hbwin.lib "   , "gtgui.lib "  , "hbrtl.lib "  , "hbvm.lib "    ,;
            "hblang.lib "  , "hbmacro.lib ", "hbrdd.lib "  , "rddntx.lib "  ,;
            "rddcdx.lib "  , "rddfpt.lib " , "hbsix.lib "  , "hbdebug.lib " ,;
            "hbcommon.lib ", "hbpp.lib "   , "hbcpage.lib ", "hbcplr.lib "  ,;
            "hbct.lib "    , "hbpcre.lib " , "xhb.lib "    , "hbziparc.lib ",;
            "hbmzip.lib "  , "hbzlib.lib " , "minizip.lib ", "png.lib "     ,;
            "hbcurl.lib "  , "hbusrrdd.lib " }
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 12:58 PM

Cristobal,

I repeat (maybe you have missed that): your EXE has the same problem. Try to paste the chinese characters twice in the first GET.

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 01:35 PM
Enrico Maria Giordano wrote:Cristobal,

I repeat (maybe you have missed that): your EXE has the same problem. Try to paste the chinese characters twice in the first GET.

EMG


Enrico, yes you are right
Note that the width of the variables must be appropriate to the characters you'll paste

Change
Code (fw): Select all Collapse
LOCAL oCodice 聽, cCodice 聽:= SPACE( 50 )


With

Code (fw): Select all Collapse
LOCAL oCodice 聽, cCodice 聽:= SPACE( 100 )


Should be reviewed in detail this topic
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 01:49 PM

Cristobal,

ok, that's better. But still doesn't work with my EXE (both Harbour and xHarbour). Don't know why... :-(

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 01:56 PM
Enrico Maria Giordano wrote:Cristobal,

ok, that's better. But still doesn't work with my EXE (both Harbour and xHarbour). Don't know why... :-)

EMG


Please, look your mail
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 02:07 PM

With your new libs it's working fine! I don't understand. I'm using latest official libs from Fivetech. What's the difference?

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 02:08 PM
Enrico Maria Giordano wrote:With your new libs it's working fine! I don't understand. I'm using latest official libs from Fivetech. What's the difference?

EMG


Ok,
I do not understand why
I will review what may be the problem with the libraries that you have

It works well with xHarbour?
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 02:15 PM

Yes, with xHarbour is even better. With Harbour if I paste when there is not enough space I get question marks or other strange characters. While with xHarbour the paste just fills the available space.

EMG

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: test using fw_unicode

Posted: Sat Oct 31, 2015 02:18 PM
Enrico Maria Giordano wrote:Yes, with xHarbour is even better. With Harbour if I paste when there is not enough space I get question marks or other strange characters. While with xHarbour the paste just fills the available space.

EMG


Thanks for the info
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces