Mercurial > pidgin.yaz
comparison libpurple/protocols/gg/search.c @ 30284:95ab863d580f
gg: For protocol 8.0+, the server sends this in UTF-8 now. Closes #11775.
committer: Paul Aurich <paul@darkrain42.org>
author | kkszysiu@gmail.com |
---|---|
date | Sun, 02 May 2010 21:31:23 +0000 |
parents | 44b4e8bd759b |
children | 34404b2719c5 |
comparison
equal
deleted
inserted
replaced
30283:fb6312881d56 | 30284:95ab863d580f |
---|---|
205 /* char *ggp_search_get_result(gg_pubdir50_t res, int num, const char *field) {{{ */ | 205 /* char *ggp_search_get_result(gg_pubdir50_t res, int num, const char *field) {{{ */ |
206 char *ggp_search_get_result(gg_pubdir50_t res, int num, const char *field) | 206 char *ggp_search_get_result(gg_pubdir50_t res, int num, const char *field) |
207 { | 207 { |
208 char *tmp; | 208 char *tmp; |
209 | 209 |
210 tmp = charset_convert(gg_pubdir50_get(res, num, field), "CP1250", "UTF-8"); | 210 tmp = g_strdup(gg_pubdir50_get(res, num, field)); |
211 | 211 |
212 return (tmp == NULL) ? g_strdup("") : tmp; | 212 return (tmp == NULL) ? g_strdup("") : tmp; |
213 } | 213 } |
214 /* }}} */ | 214 /* }}} */ |
215 | 215 |