[fondue-commits] [SCM] Fondue Font Editor branch, master, updated. 9f069f1d621e36de39a752ca090d8b41e630961b

Eugeniy Meshcheryakov eugen at debian.org
Sun Sep 30 14:41:24 UTC 2007


The branch, master has been updated
       via  9f069f1d621e36de39a752ca090d8b41e630961b (commit)
      from  90d2dc3a7c9f45e1bece97e642935801a27c1990 (commit)


- Shortlog ------------------------------------------------------------
9f069f1 Unicode data files are Latin1 encoded. WTF?

Summary of changes:
 nongui/unicodenameslist.cxx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 9f069f1d621e36de39a752ca090d8b41e630961b
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date:   Sun Sep 30 16:41:18 2007 +0200

    Unicode data files are Latin1 encoded. WTF?

diff --git a/nongui/unicodenameslist.cxx b/nongui/unicodenameslist.cxx
index 0081579..37c00bd 100644
--- a/nongui/unicodenameslist.cxx
+++ b/nongui/unicodenameslist.cxx
@@ -38,11 +38,11 @@ QString UnicodeNamesList::makeDescription(int c, const QString &name)
 	if (hasChar(c)) {
 		desc = QString("<b>%1 &#8212; %2%3</b><br/>")
 			.arg(name)
-			.arg(QString::fromUtf8(unicodeNamesList.descriptions[c]))
+			.arg(QString::fromLatin1(unicodeNamesList.descriptions[c]))
 			.arg(unicode);
 		desc.replace(QChar(0x0020), QChar(0x00A0), Qt::CaseInsensitive); // space -> nbsp
 		if (unicodeNamesList.extras.contains(c))
-			desc += QString::fromUtf8(unicodeNamesList.extras[c]);
+			desc += QString::fromLatin1(unicodeNamesList.extras[c]);
 	}
 	else {
 		desc = QString("<b>%1%2</b>").arg(name).arg(unicode);

-- 
Fondue Font Editor



More information about the fondue-commits mailing list