diff --git a/components/lazutils/winlazutf8.inc b/components/lazutils/winlazutf8.inc index 6425cd401c..58362ed7a4 100644 --- a/components/lazutils/winlazutf8.inc +++ b/components/lazutils/winlazutf8.inc @@ -237,7 +237,7 @@ begin else Result := s; FreeMem(Dst); - Result := SysToUTF8(Result); + Result := WinCPToUTF8(Result); {$endif} end;