mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:29:19 +02:00
AmigaOS4: fix compilation for double UTF8Encode in library unit and system
This commit is contained in:
parent
10c60c45d5
commit
41e32d0fba
@ -312,7 +312,7 @@ function ExtendedGraphemeCluster2LegacyChar(const EGC: UnicodeString; CodePage:
|
|||||||
var
|
var
|
||||||
tmpS: RawByteString;
|
tmpS: RawByteString;
|
||||||
begin
|
begin
|
||||||
tmpS:=UTF8Encode(EGC);
|
tmpS:=System.UTF8Encode(EGC);
|
||||||
System.SetCodePage(tmpS,CodePage,True);
|
System.SetCodePage(tmpS,CodePage,True);
|
||||||
if Length(tmpS)=1 then
|
if Length(tmpS)=1 then
|
||||||
Result:=tmpS[1]
|
Result:=tmpS[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user