mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Copy to clipboard for non UTF-8 encoding
This commit is contained in:
parent
a4fb226fe1
commit
365f2821ac
1 changed files with 1 additions and 1 deletions
|
|
@ -2380,7 +2380,7 @@ begin
|
|||
Exit;
|
||||
Clipboard.Clear; // prevent multiple formats in Clipboard (specially synedit)
|
||||
SetString(sText, GetDataAdr + FBlockBeg, FBlockEnd - FBlockBeg);
|
||||
Clipboard.AsText := sText;
|
||||
Clipboard.AsText := ConvertToUTF8(sText);
|
||||
end;
|
||||
|
||||
function TViewerControl.GetNextCharAsAscii(const iPosition: PtrInt; out CharLenInBytes: Integer): Cardinal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue