[Bug 306401] Problem receiving ICQ messages containing non-ASCII letters

Alex Richardson arichardson.kde at googlemail.com
Wed Oct 17 08:41:52 BST 2012


https://bugs.kde.org/show_bug.cgi?id=306401

--- Comment #3 from Alex Richardson <arichardson.kde at googlemail.com> ---
The ICQ messages have a field in the header which specifies the encoding.
The official client uses Latin1 if it can (probably to use less bytes), but
once you send characters which are not part of Latin1 it chooses UTF16-BE and
sets the flag in the header (verified with wireshark). 

You are right, it may be different in e.g. Russia, will have to see whether I
can check this.

Trying UTF-8 first should mostly not be a problem, since at least for the ASCII
characters it is the same as ISO-9959-1, and once the high bit is set it will
probably fail. Then it could fall back to ISO-9959-1. However as you can see in
the source snippet above, the two last lines should be swapped for that to
work. Therefore I think we should add ISO-8859-1 to the encoding combobox in
the accounts KCM and have that as a default to work around this issue in
libpurple. If someone wants/needs to they can still set it back it to UTF-8.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list