Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > f3943258515968edaa2083c86398696f > files > 22

openoffice.org-3.3.0-9.3.fc14.src.rpm

diff -ru svtools.orig/source/svhtml/parhtml.cxx svtools/source/svhtml/parhtml.cxx
--- svtools.orig/source/svhtml/parhtml.cxx	2010-07-14 11:11:17.000000000 +0100
+++ svtools/source/svhtml/parhtml.cxx	2010-07-14 11:16:29.000000000 +0100
@@ -323,6 +323,9 @@
 		bReadComment = FALSE;
 	bIsInHeader = TRUE;
 	pOptions = new HTMLOptions;
+
+	//#i76649, default to UTF-8 for HTML unless we know differently
+	SetSrcEncoding(RTL_TEXTENCODING_UTF8);
 }
 
 HTMLParser::~HTMLParser()