This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Copying and pasting from browser to LMDEdit

edited March 2014 in LMD IDE-Tools
I'm curious, how does copying and pasting text from a web page shown in a browser to an LMDEdit component work with regards to character encoding?

It seems there may be some issues copying some Unicode characters from a browser and pasting it into an LMDEdit component even though the document being pasted into is UTF-8.

Are character encoding issues with copying from other programs and pasting into LMDEdit components handled properly?

Thanks.

Comments

  • Hi,

    We use standard VCL TClipboard class to copy/paste text. This class itself use standard Windows API, which is the only way to access clipboard. 
    I think, in Unicode version UTF16 is always used to transfer text (like in any other Unicode Windows API), and basically the text itself should be converted to it by the browser before copying to clipboard.
Sign In or Register to comment.