diff src/util.h @ 13089:b553326bc468

[gaim-migrate @ 15451] Various i18n improvements from Bj??rn Voigt committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 01 Feb 2006 06:07:53 +0000
parents 69b3d5cbd2b1
children 5828d42e8684
line wrap: on
line diff
--- a/src/util.h	Wed Feb 01 06:04:22 2006 +0000
+++ b/src/util.h	Wed Feb 01 06:07:53 2006 +0000
@@ -887,6 +887,16 @@
 gboolean gaim_utf8_has_word(const char *haystack, const char *needle);
 
 /**
+ * Prints a UTF-8 message to the given file stream. The function
+ * tries to convert the UTF-8 message to user's locale. If this
+ * is not possible, the original UTF-8 text will be printed.
+ *
+ * @param filestream The file stream (e.g. STDOUT or STDERR)
+ * @param message    The message to print.
+ */
+void gaim_print_utf8_to_console(FILE *filestream, char *message);
+
+/**
  * Checks for messages starting with "/me "
  *
  * @param message The message to check