Page 1 of 1

Clipboard Characters Lost

Posted: Thu Nov 24, 2016 4:37 am
by Learner
I am attempting to capture clipboard text from PDF viewer text copies(cntrl c). However sometimes certain characters like ff,ffi and f end up being replaced by a "?" in the string after clipboard capture.
Cannot figure out why this is happening. If I paste to notepad the text is fine.

Code: Select all

ClipData= GetClipboardText()  
Debug "clipdata: "+clipdata
Would greatly appreciate any help.

John

Re: Clipboard Characters Lost

Posted: Thu Nov 24, 2016 11:07 am
by Bisonte
If you use PB <5.5 try to turn on "create Unicode executable" at Compiler Options... This may helps.