Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42084 - QT version 3.3.0+ breaks Western European (ISO 8859-1) specific characters in Licq..
Summary: QT version 3.3.0+ breaks Western European (ISO 8859-1) specific characters in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 15:45 UTC by Lars
Modified: 2004-08-22 22:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated ebuild for licq-1.2.7 (licq-1.2.7-r1.tgz,2.85 KB, application/x-tgz)
2004-02-29 04:49 UTC, Gregor Riepl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars 2004-02-18 15:45:45 UTC
When upgrading from QT-3.2.3-r1 to QT-3.3.0 (still the same problem in QT-3.3.0-r1) my swedish characters in Licq is replaced by some ugly characters in the history and in incoming messages.

I can type the characters in the input field and there they looks good, but when they go to the history field they are transformed to other characters.

Example:
"
Comment 1 Lars 2004-02-18 15:45:45 UTC
When upgrading from QT-3.2.3-r1 to QT-3.3.0 (still the same problem in QT-3.3.0-r1) my swedish characters in Licq is replaced by some ugly characters in the history and in incoming messages.

I can type the characters in the input field and there they looks good, but when they go to the history field they are transformed to other characters.

Example:
"åäö" in the input field is tranformed to "åäö" in the history/send messages field.

If i change the encoding to Unicode (UTF-8) the old history looks good but all newly typed messages have those characters destroyed. And the people the messages is sent to receives ugly characters to. This is not the case if i have ISO 8859-1 encoding, then it's only a problem for me when reading incoming and outgone messages.

If i downgrad to QT-3.2.3-r1 (and recompile licq) the problem disappears.

Thanks for reading :)

/Lars

Reproducible: Always
Steps to Reproduce:
1.emerge -u qt # (when having QT-3.2.3-r1)
2.licq
3.# type send "åäö" to someone on the list and look in history

Actual Results:  
I see the characters "åäö"

Expected Results:  
I should see the characters "åäö"
Comment 2 JG 2004-02-20 09:32:31 UTC
i'm experiencing the same with all my german umlauts which is quite annoying.

there is a patch for licq on the licq-devel list for licq 1.2.7 and it is also available on the licq homepage:
http://www.licq.org/download.html => http://www.sjaensch.org/licq1.2.7-qt3.3-sprintf.patch
this patch has already been applied in licq CVS.

the people there also say that this has been fixed in QT cvs (i just downloaded a snapshot and it says this in the changelog:
"- QString sprintf()  again  interprets  strings,  %s,  as
UTF-8 strings, not as Latin1 strings."

guess gentoo needs either a patch for qt or licq or newer versions of the respected apps.

JG
Comment 3 JG 2004-02-20 09:37:43 UTC
sorry for the 2nd comment, forgot to mention that i just downgraded to qt 3.2.3, restarted kde/licq and everything is working fine again, without recompiling licq.

JG
Comment 4 Sergey S. Kostyliov 2004-02-20 13:32:20 UTC
I have the same problem with windows-1251 charset.
Comment 5 Gregor Riepl 2004-02-29 04:49:56 UTC
Created attachment 26580 [details]
updated ebuild for licq-1.2.7

hey guys, for all who don't use licq cvs and/or qt cvs: i made a little ebuild
that incorporates the patch
would be nice if someone could submit it into the portage tree...
Comment 6 Boris 2004-03-23 05:43:46 UTC
I installed the a patch [1] from a thread in the german-Forum [2] on 2boxes and it worked really well.
You just need to add a "epatch ${FILESDIR}/licq1.2.7-qt3.3-sprintf.patch" to the ebuild.

Any change to see this patch in portage? It's really ugly to write in languages that need these specific characters...

[1] http://www.inf.tu-dresden.de/~s2247401/ebuilds/net-im/licq/files/licq1.2.7-qt3.3-sprintf.patch
[2] http://forums.gentoo.org/viewtopic.php?p=935837#935837
Comment 7 Christoph Brill (egore) (RESIGNED) 2004-04-04 11:20:32 UTC
I really like to see this in portage
Comment 8 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-08-22 22:39:25 UTC
fixed in upcoming 1.3.0 release (and 1.3.0_pre is in portage)