Bug 145240

Summary: kopete problems with encoding during authorization
Product: [Applications] kopete Reporter: Leonid Morgun <web.hijacker>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Trivial patch to fix encoding in auth request/reply reason.

Description Leonid Morgun 2007-05-09 19:26:00 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages

There's an ability to send messages in auhorization response. If they were sent in Russian, the problems with encoding (cp1251 with my utf8) emerged.
Comment 1 Oleg Girko 2007-05-09 21:29:37 UTC
Created attachment 20522 [details]
Trivial patch to fix encoding in auth request/reply reason.

Please review this patch. It fixes handling of authorisation request/reply
reason's encoding.
The assumption in the original code was that reason field sent in authorisation
request/reply is in latin1 encoding. This assumption is wrong: text fields in
SSI protocol are in UTF-8.
Unfortunately, this patch is against KDE/3.5 branch: I don't have KDE-4
development environment. If there are no objections, I can commit this.
Comment 2 Oleg Girko 2007-05-09 21:41:44 UTC
Fortunately, this is already fixed in KDE-4. Consider my patch to be the backport of KDE-4 fix. :-)
Comment 3 Matt Rogers 2007-05-10 02:10:22 UTC
Patch looks good. Please commit.
Comment 4 Oleg Girko 2007-05-11 04:51:31 UTC
This is not the first time I use "BUG:" line in Subversion commit message, and it does not work.
Trying to close this bug manually.