From bd0ecad60d4847cccff34fd1df2432c90fec7bfa Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 2 Jun 2011 19:14:01 +0000 Subject: [PATCH] fixed encoding git-svn-id: trunk@31014 - --- components/codetools/laz2_xmlwrite.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/laz2_xmlwrite.pas b/components/codetools/laz2_xmlwrite.pas index 553d45327c..54978a2266 100644 --- a/components/codetools/laz2_xmlwrite.pas +++ b/components/codetools/laz2_xmlwrite.pas @@ -348,7 +348,7 @@ begin '"': Sender.wrtStr(QuotStr); '&': Sender.wrtStr(AmpStr); '<': Sender.wrtStr(ltStr); - // Escape whitespace using CharRefs to be consistent with W3 spec § 3.3.3 + // Escape whitespace using CharRefs to be consistent with W3 spec § 3.3.3 #0..#15: Sender.wrtStr('&#x'+HexChr[ord(s[idx])]+';'); #16..#31: Sender.wrtStr(''+HexChr[ord(s[idx])-16]+';'); else