problem with GET and “” chars

problem with GET and “” chars

Postby MOISES » Fri Nov 15, 2019 3:29 am

Hi,

I have a Word document with these chars “”:

Image

However, if I copy and paste them into a get, they are not shown:

What is the problem please?

Image

Above is samples\testget2.prg

Thank you.
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: problem with GET and “” chars

Postby nageswaragunupudi » Fri Nov 15, 2019 11:51 pm

Working correctly for me here
Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10659
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: problem with GET and “” chars

Postby MOISES » Sat Nov 16, 2019 5:42 pm

Thank you.

How did you build it?

I did buildh testget2.prg

With compìler and linker did you use?
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: problem with GET and “” chars

Postby Antonio Linares » Sat Nov 16, 2019 9:55 pm

Moisés,

Here it is working fine also. Using BCC 7.0 or 7.4
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42125
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: problem with GET and “” chars

Postby nageswaragunupudi » Sun Nov 17, 2019 4:12 am

I tested with all compilers, harbour and xharbour with bcc7 and msvc both 32 bits and 64 bits.

I tested on Windows 10.
Not tested on Windows 7.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10659
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: problem with GET and “” chars

Postby MOISES » Sun Nov 17, 2019 9:02 am

Thank you.

Can you please test it under Windows 7?
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: problem with GET and “” chars

Postby nageswaragunupudi » Sun Nov 17, 2019 9:51 am

I don't have Windows 7
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10659
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: problem with GET and “” chars

Postby driessen » Sun Nov 17, 2019 10:08 am

I tested it on Windows 7.
No problem here.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: problem with GET and “” chars

Postby Bayron » Sun Nov 17, 2019 12:11 pm

Doing some fast testing, I can duplicate the behavior,

I'm doing my test based on the idea of some kind of format being pasted to the get together with the text....

on different versions of FWH up to 12.04, and tested on an application compliled on 18.???
Windows 8.1

If I copy the text from Open Office Writer to TESTGET2 sample,
If I copy the text to Command Prompt from Open Office Writer, and then to TESTGET2 sample,

It won't happen if I write directly to Command Prompt (ASCII)and then copy it to TESTGET2 sample

Another part of the behavior I noticed, is that the PICTURE is not applied until the action is executed,
showing the var content correctly (after modifying the sample),
but the get still shows the same behavior, but now on UPPERCASE...
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: problem with GET and “” chars

Postby Bayron » Sun Nov 17, 2019 12:36 pm

Furthermore, if I activate
Code: Select all  Expand view  RUN
FW_SetUniCode(.T.)

when I paste the text, I loose the last character (")

Forgive my ignorance on this aspect, but may it be that something like what they call the UTF8 BOM may be attached to the pasted text????
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: problem with GET and “” chars

Postby Bayron » Sun Nov 17, 2019 12:52 pm

So, following my Idea, I copied the text directly to my PRG file, to test the conversion Formulas, and I got this

MOISES.prg(22) Error E0030 Syntax error "syntax error at 'ô'"


That means that other characters are in fact being copied in my computer, together with the copied text, as I have guess...
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests