00001
00023
00024
00025 #ifndef _QQ_CHAR_CONV_H_
00026 #define _QQ_CHAR_CONV_H_
00027
00028 #include <glib.h>
00029
00030 #define QQ_CHARSET_DEFAULT "GBK"
00031
00032 gint convert_as_pascal_string(guint8 * data, gchar ** ret, const gchar * from_charset);
00033
00034 gchar *qq_smiley_to_gaim(gchar * text);
00035
00036 gchar *gaim_smiley_to_qq(gchar * text);
00037
00038 gchar *utf8_to_qq(const gchar * str, const gchar * to_charset);
00039 gchar *qq_to_utf8(const gchar * str, const gchar * from_charset);
00040 gchar *qq_encode_to_gaim(guint8 * font_attr_data, gint len, const gchar * msg);
00041
00042 gchar *qq_im_filter_html(const gchar * text);
00043
00044 #endif
00045
00046