Hi Egor!

On Wednesday 12 December 2007, Egor wrote:

> ------- Additional Comments From akrus flygroup st  2007-12-12 13:56
> ------- I know about feature freeze, but anyway this would be nice.
>
> Thanks for your replies.
>
> By the way, encoding is still not working well for non-contacts. When
> someone sends me a message I can read it well, but the other side doesn't
> receive the message in CP1251 (likely ISO-8859-1). Only after adding the
> contact to my contact list the messages are going well. Almost the same
> problem happens with UTF-8, however in this case remote contacts send me
> wrong messages (mostly QIP & Jimm) - I see only UTF-8 symbols (likely sent
> in cp1251).

I understand your problems very well, I have many Russian ICQ contacts myself.

I think, that the issue you've described in this message does not belong to 
this particular bug report and should be discussed in a separate thread.
Hence, I'm writing this message to mailing list.

The problem with encoding of offline messages is a known issue, and we can not 
do much about it. ICQ uses Unicode for online messages, and unspecified 8-bit 
encoding for offline messages. By "unspecified" I mean that the encoding of 
message is not specified anywhere in message and it is dependent on Windows 
settings of sending party (language for legacy non-Unicode programs in 
Windows XP, as far as I remember). Also, the same unspecified 8-bit encoding 
is used for another types of message (contact info, for example).

So there is no reliable way to know the encoding of incoming offline message. 
In Windows ICQ client it's usually determined using the same Windows setting 
I've mentioned above, so you should have the same encoding for legacy Windows 
programs as your peer to receive offline messages correctly.

In Kopete this setting is more flexible. You can set the encoding for offline 
messages for each contact individually, and you can set the default encoding 
for all remaining contacts for account. The settings for that are "Select 
encoding" in contact menu and "Default encoding" in ICQ account settings. 
Yes, this is misleading. I think, that those settings should be renamed 
to "Encoding for 8-bit messages" or "Encoding for non-Unicode message" or 
something like this.

Hence, here is the short summary.

If you're Russian, you must set default encoding for ICQ account to 
Windows-1251 (not Unicode!).

If you have a contact who speaks, say, German, you select Windows-1252 
encoding for this particular contact (the encoding used by Windows for legacy 
8-bit programs for this language).

If you have a contact who speaks Russian and uses Windows, but you receive 
garbled offline messages from this contact, try to convince this person to 
change "Language for legacy programs" Windows setting to "Russian". Or, much 
better, try to convince this person to install Linux and use Kopete!

In unlike case if you're not Russian (most ICQ users are Russians, aren't 
they?), those instructions still apply to you with the only difference that 
you use another encoding instead of Windows-1251. You should know the legacy 
8-bit encoding Windows uses for your language. Kopete helps you by telling 
the language groups Windows encoding belong to in encoding selection 
pull-down menu.

Feel free to quote this message the next time somebody asks you a question 
about ICQ encoding.

Best regards,
-- Oleg Girko, http://www.infoserver.ru/~ol/
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to