From 3817a85022a6347fee26d64a605cad70e8856f2d Mon Sep 17 00:00:00 2001 From: inoussa Date: Fri, 14 Sep 2012 11:03:54 +0000 Subject: [PATCH] DOM encoding for fpc >260 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2510 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- wst/trunk/wst_fpc_xml.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wst/trunk/wst_fpc_xml.pas b/wst/trunk/wst_fpc_xml.pas index a47a89692..c83e83e60 100644 --- a/wst/trunk/wst_fpc_xml.pas +++ b/wst/trunk/wst_fpc_xml.pas @@ -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;