DOM encoding for fpc >260

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa
2012-09-14 11:03:54 +00:00
parent 608708e249
commit 3817a85022

View File

@ -123,7 +123,7 @@ end;
function CreateDoc() : TXMLDocument ;
begin
Result := TXMLDocument.Create();
{$IF ((FPC_VERSION = 2) and (FPC_RELEASE = 6)) }
{$IF (FPC_FULLVERSION <= 20600) }
Result.Encoding := 'UTF-8';
{$IFEND}
end;