1 May 2007 13:01
Unicode support for Status Mode Messages
Hello all,
there is two major ideas how to implement unicode
support for Status Mode Messages, I just wanted to sumarize that and perhaps get
some new points for this.
All core protocols except AIM & ICQ knows
status messages and stores them in DB... so the best for them is idea 1), ICQ
and AIM otherwise does not know the real status message, and for each time it
requests the message from server/client.
Here is the summary:
1) use Unicode support in DB as define some
resident variable, which will be used to comunicate this to other
plugins.
2) define some PS_GETCAPS flags and use this to
detect the same Unicode formatted hack in current ACKTYPE_AWAYMSG.
The idea 2) is awful in realisation, but provides
the easiest solution for ICQ - just because with idea 1) ICQ has a problem:
either keep outdated status msg in DB, or delete it after broadcasting an ack...
either way it is a wrong way to go...
So what I think about this:
- define two new PS_GETCAPS
- one e.g. PF1_AWAYMSG_DB, which notes idea 1)
and no PSS_GETAWAYMSG or ACKTYPE_AWAYMSG is necessary
- second e.g. PF1_AWAYMSG_UNICODE for
idea 2) where it will not be stored in DB, but broadcasted using ACKTYPE_AWAYMSG
with Unicode hack same as the one for message blob
- with Miranda IM 0.8+ we can safely remove all
that "hack" code PSS_GETAWAYMSG for MSN and others, which only reads the status
message from DB and broadcasts it...
So, what do you think about this ?
Have a nice day,
Joe <at> Whale
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Miranda-Develop mailing list Miranda-Develop@... https://lists.sourceforge.net/lists/listinfo/miranda-develop

RSS Feed