r19449 by jghali - #12634: Broken UTF-8 encoding of license copyright and contributor names in 'About Scribus' license box

scribus-commit scribus-commit at lists.scribus.net
Wed Aug 27 10:55:41 UTC 2014


Author: jghali
Date: Wed Aug 27 10:55:41 2014
New Revision: 19449

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19449
Log:
#12634: Broken UTF-8 encoding of license copyright and contributor names in 'About Scribus' license box

Modified:
    branches/Version14x/Scribus/scribus/about.cpp

Modified: branches/Version14x/Scribus/scribus/about.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19449&path=/branches/Version14x/Scribus/scribus/about.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/about.cpp (original)
+++ branches/Version14x/Scribus/scribus/about.cpp Wed Aug 27 10:55:41 2014
@@ -250,6 +250,8 @@
 	else
 	{
 		QTextStream inTS(&licenceFile);
+		inTS.setAutoDetectUnicode(true);
+		inTS.setCodec("UTF-8");
 		QString licenceText = inTS.readAll();
 		textViewLicence->setText(licenceText);
 	} 




More information about the scribus-commit mailing list