diff --git a/wst/trunk/wst_fpc_xml.pas b/wst/trunk/wst_fpc_xml.pas index 3bb1e04bb..8fe81ba6f 100644 --- a/wst/trunk/wst_fpc_xml.pas +++ b/wst/trunk/wst_fpc_xml.pas @@ -93,7 +93,9 @@ end; function CreateDoc() : TXMLDocument ; begin Result := TXMLDocument.Create(); +{$IF ((FPC_VERSION = 2) and (FPC_RELEASE = 6)) } Result.Encoding := 'UTF-8'; +{$IFEND} end; function FindNode(ANode : TDOMNode;const ANodeName : string) : TDOMNode;{$IFDEF USE_INLINE}inline;{$ENDIF}