Hi List,

still trying to improve character set handling. So far there is now a new gTranslator-like class that does a more secure converting. However, I'm not quite sure how encoding in ICQ is done.
I think it works somehow that way:
ICQ users can have a flag that indicates whether they support UTF-8. If ICQUser::SupportsUTF8() is set to "true" you can send messages in Unicode (UCS-2BE). Is this only valid when you send messages directly to a user?

Which charset do you have to use when sending messages via the server?

And which is to use when you send them to the server (if the user is currently offline)?

If SupportsUTF8() is not set you have to use the UserEncoding() content. If this is not set, use the encoding specified in the licq settings, right?

How is the behavoir with AIM users?

Do they always support UTF-8 or UCS-2BE?

I took a look in the gaim sources and it seems to use ISO-8859-1 (which is only good for western countries, I thought).

So many questions :)

Regards,
Joachim

Reply via email to