Mercurial > pidgin
comparison libpurple/protocols/oscar/oscar.h @ 22435:7b4d39ffd563
Change OSCAR to use UTF-16 rather than UCS-2 conversions. Apparently
some iconv implementations (notably win_iconv) are dropping UCS-2
support, due to the impression that it is obsolete. For BMP
characters, UTF-16 should be bitwise identical to UCS-2, so if OSCAR
really *is* UCS-2, this shouldn't hurt anything. If it turns out it's
capable of UTF-16, well, then, more's the better.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Fri, 07 Mar 2008 04:01:20 +0000 |
parents | a8c025929245 |
children | 979a81468e19 |
comparison
equal
deleted
inserted
replaced
22433:361b2e61a219 | 22435:7b4d39ffd563 |
---|---|
752 #define AIM_IMFLAGS_MULTIPART 0x0400 /* ->mpmsg section valid */ | 752 #define AIM_IMFLAGS_MULTIPART 0x0400 /* ->mpmsg section valid */ |
753 #define AIM_IMFLAGS_OFFLINE 0x0800 /* send to offline user */ | 753 #define AIM_IMFLAGS_OFFLINE 0x0800 /* send to offline user */ |
754 #define AIM_IMFLAGS_TYPINGNOT 0x1000 /* typing notification */ | 754 #define AIM_IMFLAGS_TYPINGNOT 0x1000 /* typing notification */ |
755 | 755 |
756 #define AIM_CHARSET_ASCII 0x0000 | 756 #define AIM_CHARSET_ASCII 0x0000 |
757 #define AIM_CHARSET_UNICODE 0x0002 /* UCS-2BE */ | 757 #define AIM_CHARSET_UNICODE 0x0002 /* UTF-16BE */ |
758 #define AIM_CHARSET_CUSTOM 0x0003 | 758 #define AIM_CHARSET_CUSTOM 0x0003 |
759 | 759 |
760 /* | 760 /* |
761 * Multipart message structures. | 761 * Multipart message structures. |
762 */ | 762 */ |