Mercurial > pidgin
annotate doc/plugin-signals.dox @ 17632:36ebcb33e2eb
This fixes a bustination of the official ICQ client in at least some
locales. For away (and possibly other) messages, apparently the
official ICQ (5.1?) client of some locales converts messages which are
stored in UTF-8 from a locale-native character set to UCS-2BE; this
results in something which, when decoded "correctly", is gibberish.
Instead, we first try decoding from UCS-2BE to the locale-specific
character set, and if that validates as UTF-8, we display it, instead.
Since UTF-8 is relatively picky, hopefully this won't break too many
sane clients.
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Thu, 14 Jun 2007 18:20:53 +0000 |
| parents | 8cf53d7a0887 |
| children | e0613cf8c493 |
| rev | line source |
|---|---|
| 12053 | 1 /** @page plugin-signals Plugin Signals |
| 2 | |
| 3 @signals | |
| 4 @signal plugin-load | |
| 5 @signal plugin-unload | |
| 6 @endsignals | |
| 7 | |
| 8 <hr> | |
| 9 | |
| 10 @signaldef plugin-load | |
| 11 @signalproto | |
|
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
12053
diff
changeset
|
12 void (*plugin_load)(PurplePlugin *plugin); |
| 12053 | 13 @endsignalproto |
| 14 @signaldesc | |
| 15 Emitted when a plugin is loaded. | |
| 16 @param plugin The plugin that was loaded. | |
| 17 @endsignaldef | |
| 18 | |
| 19 @signaldef plugin-unload | |
| 20 @signalproto | |
|
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
12053
diff
changeset
|
21 void (*plugin_unload)(PurplePlugin *plugin); |
| 12053 | 22 @endsignalproto |
| 23 @signaldesc | |
| 24 Emitted when a plugin is unloaded. | |
| 25 @param plugin The plugin that was unloaded. | |
| 26 @endsignaldef | |
| 27 | |
| 28 */ | |
| 29 // vim: syntax=c tw=75 et |
