diff options
Diffstat (limited to 'executive-summary/component/e-summary-url.c')
-rw-r--r-- | executive-summary/component/e-summary-url.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/executive-summary/component/e-summary-url.c b/executive-summary/component/e-summary-url.c index 4b26f1a85d..202a026406 100644 --- a/executive-summary/component/e-summary-url.c +++ b/executive-summary/component/e-summary-url.c @@ -798,12 +798,14 @@ e_summary_url_describe (const char *uri, ESummary *esummary) { ESummaryProtocol protocol; - char *contents, *description; + char *contents, *description, *tmp; protocol = get_protocol (uri); contents = parse_uri (uri, protocol, esummary); + tmp = e_utf8_to_locale_string (contents); - description = g_strdup_printf (_(descriptions[protocol]), contents); + description = g_strdup_printf (_(descriptions[protocol]), tmp); + g_free (tmp); g_free (contents); return description; |