From d2926f74ff3d6ec67c23119d4ab1538fa4f66dca Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 14 Jul 2016 13:48:29 +0200 Subject: [PATCH] elm_cnp: use defined charset before falling back to default the chance is very high that some glyphs are not fitting into the default (US-ASCII) so better falling back here on specified utf8. @ref T3972 --- src/lib/elementary/elm_cnp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c index 663e89eccc..f9fdd14678 100644 --- a/src/lib/elementary/elm_cnp.c +++ b/src/lib/elementary/elm_cnp.c @@ -2991,14 +2991,14 @@ _wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se (format & ELM_SEL_FORMAT_TEXT)) { types[++i] = "application/x-elementary-markup"; - types[++i] = "text/plain"; types[++i] = "text/plain;charset=utf-8"; + types[++i] = "text/plain"; } if (format & ELM_SEL_FORMAT_HTML) { - types[++i] = "text/html"; types[++i] = "text/html;charset=utf-8"; + types[++i] = "text/html"; } if (i < 0) return EINA_FALSE;