[ooo-build-commit] .: svtools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Oct 1 02:01:01 PDT 2010
svtools/source/svhtml/parhtml.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 0c51a005e3948df3932d69fa402af8528d92369b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Oct 1 10:00:52 2010 +0100
#i76649#, default to UTF-8 for HTML unless we know differently
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 34bccdc..c71c1f5 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -323,6 +323,9 @@ HTMLParser::HTMLParser( SvStream& rIn, int bReadNewDoc )
bReadComment = FALSE;
bIsInHeader = TRUE;
pOptions = new HTMLOptions;
+
+ //#i76649, default to UTF-8 for HTML unless we know differently
+ SetSrcEncoding(RTL_TEXTENCODING_UTF8);
}
HTMLParser::~HTMLParser()
More information about the ooo-build-commit
mailing list