summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/corelib/gdi/gfx_gdi.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index d77c27c6..f5ce5d05 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -2004,7 +2004,7 @@ begin
GlobalUnlock(h);
end;
CloseClipboard;
- Result := FClipboardText;
+ Result := AnsiToUtf8(FClipboardText);
end;
procedure TfpgClipboardImpl.DoSetText(const AValue: string);