mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 22:20:17 +02:00
IDE: fpc msg parser: fixed converting 2.6.4 encoding to UTF-8
git-svn-id: branches/fixes_1_6@50630 -
This commit is contained in:
parent
eaa20c3849
commit
2c66f35924
@ -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