problem with GET and “” chars

Post Reply
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

problem with GET and “” chars

Post by MOISES »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: problem with GET and “” chars

Post by nageswaragunupudi »

Working correctly for me here
Image
Regards

G. N. Rao.
Hyderabad, India
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: problem with GET and “” chars

Post by MOISES »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: problem with GET and “” chars

Post by Antonio Linares »

Moisés,

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

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: problem with GET and “” chars

Post by nageswaragunupudi »

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
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: problem with GET and “” chars

Post by MOISES »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: problem with GET and “” chars

Post by nageswaragunupudi »

I don't have Windows 7
Regards

G. N. Rao.
Hyderabad, India
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: problem with GET and “” chars

Post by driessen »

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

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Bayron
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: problem with GET and “” chars

Post by Bayron »

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

Post by Bayron »

Furthermore, if I activate

Code: Select all

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

Post by Bayron »

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...
Post Reply