Wed, 07 Jul 2004 17:56:59 +0000
[gaim-migrate @ 10301]
This changes Oscar to use g_utf8_validate for UTF-8 validation, rather
than attempting a conversion from UTF-8 to UTF-8, as the latter
appears to be problematic with some iconvs. This causes Oscar to
print a conversion failure message (ala IRC) if we receive non-ASCII
marked as such -- I don't think this is a problem, as I believe the
ICQ funkiness is marked as ISO-8859-1, but if you get the message let
me know.
typedef struct group *Gaim__Group; #define group perl_group #include <glib.h> #ifdef _WIN32 #undef pipe #endif #include <EXTERN.h> #include <perl.h> #include <XSUB.h> #undef group #include "../perl-common.h" #include "account.h" #include "connection.h" #include "conversation.h" #include "debug.h" #include "server.h" typedef GaimAccount * Gaim__Account; typedef GaimBuddy * Gaim__BuddyList__Buddy; typedef GaimChat * Gaim__BuddyList__Chat; typedef GaimGroup * Gaim__BuddyList__Group; typedef GaimContact * Gaim__BuddyList__Contact; typedef GaimConnection * Gaim__Connection; typedef GaimConversation *Gaim__Conversation; typedef GaimConvChat * Gaim__Conversation__Chat; typedef GaimConvIm * Gaim__Conversation__IM; typedef GaimConvWindow * Gaim__ConvWindow; typedef GaimPlugin * Gaim__Plugin; typedef GaimDebugLevel Gaim__DebugLevel;