[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] Bad encoding in icq protocol
From:       "Roman Jarosz" <kedgedev () gmail ! com>
Date:       2009-04-21 20:05:16
Message-ID: op.usq521o2asvm2a () kedge
[Download RAW message or body]

On Thu, 16 Apr 2009 20:49:55 +0200, Pali Rohár <pali.rohar@gmail.com>  
wrote:

> Hello,
> after revision 948341, which change icq protocol line 435 in file
> liboscar/oscartypes.h from
>
> const unsigned char ICQ_TCP_VERSION     = 0x0008;
> to
> const unsigned char ICQ_TCP_VERSION     = 0x0009; // 9 for rtf support
>
> slovak chars (ľščťž ...) with encoding windows-1250 in status message
> (not status title) show bad, but in status tile is ok.
> If I update to latest revision and change back this file all is ok. All
> chats messages always show correct.
>
> If I change default encoding to utf8 all incoming messages with slovak
> chars show bad, but status message (and tile message too) show correct.
> Default slovak encoding is windows-1250
>
> Where is problem? Why it do this? It is needed 0x0009 in
> ICQ_TCP_VERSION? I don't understand why ICQ_TCP_VERSION change encoding
> of status message (and not status tile and chats messages too).
>

Status titles were always utf8, I actually don't understand why only away  
messages
are always uft8 with VERSION 9 and not chat messages... maybe in next  
version
they will be :) , the VERSION 9 is for richtext.

Anyway this should be fixed in trunk (commit 957318).

Roman


_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic