mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 16:09:26 +02:00
IDE: fpc msg parser: fixed converting 2.6.4 encoding to UTF-8
git-svn-id: trunk@50629 -
This commit is contained in:
parent
55619096fd
commit
0db26fe87a
@ -2837,8 +2837,13 @@ begin
|
||||
if Line='' then exit;
|
||||
if FPC_FullVersion>=20701 then
|
||||
Line:=LazUTF8.ConsoleToUTF8(Line)
|
||||
else
|
||||
else begin
|
||||
{$IFDEF MSWINDOWS}
|
||||
Line:=LazUTF8.WinCPToUTF8(Line);
|
||||
{$ELSE}
|
||||
Line:=LazUTF8.SysToUTF8(Line);
|
||||
{$ENDIF}
|
||||
end;
|
||||
p:=PChar(Line);
|
||||
fOutputIndex:=OutputIndex;
|
||||
fMsgID:=0;
|
||||
|
Loading…
Reference in New Issue
Block a user