comparison src/gaim.h @ 3642:5e50f6746509

[gaim-migrate @ 3766] (10:16:03) deryni: we're fully 'compliant'? (sorry if that betrays some underlying stupidity) (10:16:55) Paco-Paco: yes (10:17:24) Paco-Paco: provided the user has the font, on any of the services supporting unicode we should support every known language in the world :-) (10:17:36) Paco-Paco: well, as soon as we have a proper utf-8 input widget committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 11 Oct 2002 14:19:24 +0000
parents 9682c0e022c6
children f09193608fd3
comparison
equal deleted inserted replaced
3641:e2391338c394 3642:5e50f6746509
466 extern time_t get_time(int, int, int, int, int, int); 466 extern time_t get_time(int, int, int, int, int, int);
467 extern FILE *gaim_mkstemp(gchar **); 467 extern FILE *gaim_mkstemp(gchar **);
468 extern char *convert_string(char *, const char *, const char *); 468 extern char *convert_string(char *, const char *, const char *);
469 extern const char *handle_uri(char *); 469 extern const char *handle_uri(char *);
470 470
471 #ifdef HAVE_LANGINFO_CODESET
472 #define utf8_to_str(in) convert_string(in, nl_langinfo(CODESET), "UTF-8")
473 #define str_to_utf8(in) convert_string(in, "UTF-8", nl_langinfo(CODESET))
474 #else
475 #define utf8_to_str(in) convert_string(in, "ISO-8859-1", "UTF-8")
476 #define str_to_utf8(in) convert_string(in, "UTF-8", "ISO-8859-1")
477 #endif
478
479 /*------------------------------------------------------------------------*/ 471 /*------------------------------------------------------------------------*/
480 /* Multi-Entry dialog and vCard dialog support */ 472 /* Multi-Entry dialog and vCard dialog support */
481 /*------------------------------------------------------------------------*/ 473 /*------------------------------------------------------------------------*/
482 474
483 /* 475 /*