libgaim/protocols/oscar/oscarcommon.h

changeset 15122
58eab9b89e86
parent 15030
6a6cf7be07ea
child 15205
f642029b2f97
--- a/libgaim/protocols/oscar/oscarcommon.h	Wed Nov 29 01:20:34 2006 +0000
+++ b/libgaim/protocols/oscar/oscarcommon.h	Wed Nov 29 05:27:49 2006 +0000
@@ -31,12 +31,19 @@
 
 #define OSCAR_DEFAULT_LOGIN_SERVER "login.oscar.aol.com"
 #define OSCAR_DEFAULT_LOGIN_PORT 5190
+#ifndef _WIN32
 #define OSCAR_DEFAULT_CUSTOM_ENCODING "ISO-8859-1"
+#else
+#define OSCAR_DEFAULT_CUSTOM_ENCODING oscar_get_locale_charset()
+#endif
 #define OSCAR_DEFAULT_AUTHORIZATION TRUE
 #define OSCAR_DEFAULT_HIDE_IP TRUE
 #define OSCAR_DEFAULT_WEB_AWARE FALSE
 #define OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY FALSE
 
+#ifdef _WIN32
+const char *oscar_get_locale_charset(void);
+#endif
 const char *oscar_list_icon_icq(GaimAccount *a, GaimBuddy *b);
 const char *oscar_list_icon_aim(GaimAccount *a, GaimBuddy *b);
 void oscar_list_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne);

mercurial