On Sun, Apr 25, 2004 at 11:53:09AM +0200, Joni L-Haikarainen aka Lejon wrote:
> But now in Gentoo the Swedish spesific characters dosent show up right..

This might be the QString::sprintf bug in QT-3.3.0. The patch is

diff -rud qt-x11-free-3.3.0/src/tools/qstring.cpp qt-x11-free-3.3.0-my/src/tools
/qstring.cpp
--- qt-x11-free-3.3.0/src/tools/qstring.cpp     Fri Jan 30 14:02:53 2004
+++ qt-x11-free-3.3.0-my/src/tools/qstring.cpp  Wed Feb  4 18:54:51 2004
@@ -2638,7 +2638,7 @@
                        ++ch;
                    subst.setUnicodeCodes(buff, ch - buff);
                } else
-                   subst = va_arg(ap, const char*);
+                   subst = QString::fromUtf8(va_arg(ap, const char*));
                if (precision != -1)
                    subst.truncate(precision);
                ++c;

QT-3.3.1 contains the patch.
There is also a workaround for Licq at 
http://www.sjaensch.org/licq1.2.7-qt3.3-sprintf.patch

  Daniel


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to