QDoc: Set the default output encoding for HTML to UTF-8.

Change-Id: Ic6d8efae967514e143f224aed4c761a4c01eb434
Reviewed-by: Martin Smith <martin.smith@nokia.com>
This commit is contained in:
Casper van Donderen 2012-08-01 19:41:20 +02:00 committed by Qt by Nokia
parent 17a68ee65b
commit 2117580d79

View File

@ -177,7 +177,7 @@ void HtmlGenerator::initializeGenerator(const Config &config)
outputEncoding = config.getString(CONFIG_OUTPUTENCODING);
if (outputEncoding.isEmpty())
outputEncoding = QLatin1String("ISO-8859-1");
outputEncoding = QLatin1String("UTF-8");
outputCodec = QTextCodec::codecForName(outputEncoding.toLocal8Bit());
naturalLanguage = config.getString(CONFIG_NATURALLANGUAGE);