-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

In the caption of the main window the username is shown. If you have
german umlauts you will see something with wrong encoding.
The reason for that is the encoding of the user alias. This alias is
always saved in utf8 (by qt-gui). But when showing it in the caption is
not assumed to be in utf8.

Then I have another question. In owner.Licq there's an option called
"Encoding". I did not found any place where this option is set. At the
moment there is no way to change the value except changing the value
direct in the file with an editor. Should qt-gui use/edit this value?


regards,
rsLeo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFETTmFuFcJvHsEu9gRAgvxAKCHTORjRNVNHv0HjODBJMA+PJi/LgCfYT8t
CSL+VNgplTp1Dko+nKKOLrc=
=3JQs
-----END PGP SIGNATURE-----
--- licq_orig/plugins/qt-gui/src/mainwin.cpp    2005-12-14 09:01:57.000000000 
+0100
+++ licq_patched/plugins/qt-gui/src/mainwin.cpp 2006-04-24 22:25:19.733047352 
+0200
@@ -590,7 +590,7 @@
   ICQOwner *o = gUserManager.FetchOwner(LOCK_R);
   if (o != NULL)
   {
-    m_szCaption = tr("Licq (%1)").arg(QString::fromLocal8Bit(o->GetAlias()));
+    m_szCaption = tr("Licq (%1)").arg(QString::fromUtf8(o->GetAlias()));
     gUserManager.DropOwner();
   }
   else
@@ -1512,7 +1512,7 @@
         ICQOwner *o = gUserManager.FetchOwner(nPPID, LOCK_R);
         if (o != 0)
         {
-          m_szCaption = tr("Licq 
(%1)").arg(QString::fromLocal8Bit(o->GetAlias()));
+          m_szCaption = tr("Licq (%1)").arg(QString::fromUtf8(o->GetAlias()));
           gUserManager.DropOwner(nPPID);
         }
         else

Reply via email to