Public bug reported:

ClipIt tries to replace text in the middle of long snippets with an
ellipsis, and it fails to produce valid UTF-8. This can be seen in the
logs:

Jun 03 11:36:16 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 03 11:38:18 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 03 11:38:18 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 03 11:38:30 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 03 11:38:35 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 03 11:38:36 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
…
Jun 03 11:56:37 nuevo gnome-session[2189]: (clipit:2553): Gtk-WARNING **: 
Failed to set text from markup due to error parsing markup: Error on line 1 
char 65: Invalid UTF-8 encoded text in name — not valid 
'восхитительн\xd0...\x82ектуры место!'
Jun 03 11:56:37 nuevo gnome-session[2189]: (clipit:2553): Gtk-WARNING **: 
Failed to set text from markup due to error parsing markup: Error on line 1 
char 65: Invalid UTF-8 encoded text in name — not valid 
'восхитительн\xd0...\x82ектуры место!'
Jun 03 11:56:37 nuevo gnome-session[2189]: (clipit:2553): 
LIBDBUSMENU-GTK-WARNING **: Could not parse '<i>восхитительн\xd0...\x82ектуры 
место!</i>': Error on line 1 char 65: Invalid UTF-8 encoded text in name — not 
valid 'восхитительн\xd0...\x82ектуры место!'
Jun 03 11:56:37 nuevo gnome-session[2189]: (clipit:2553): GLib-CRITICAL **: 
g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
Jun 03 12:02:38 nuevo gnome-session[2189]: (clipit:2553): Gtk-WARNING **: 
Failed to set text from markup due to error parsing markup: Error on line 1 
char 65: Invalid UTF-8 encoded text in name — not valid 
'восхитительн\xd0...\x82ектуры место!'
Jun 03 12:02:38 nuevo gnome-session[2189]: (clipit:2553): Gtk-WARNING **: 
Failed to set text from markup due to error parsing markup: Error on line 1 
char 65: Invalid UTF-8 encoded text in name — not valid 
'восхитительн\xd0...\x82ектуры место!'
Jun 03 12:02:38 nuevo gnome-session[2189]: (clipit:2553): 
LIBDBUSMENU-GTK-WARNING **: Could not parse '<b>восхитительн\xd0...\x82ектуры 
место!</b>': Error on line 1 char 65: Invalid UTF-8 encoded text in name — not 
valid 'восхитительн\xd0...\x82ектуры место!'

Note \xd0 and \x82, which are bits of formerly valid UTF-8 characters
from the Cyrillic set.

This most probably is an upstream bug.

** Affects: clipit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: upstream-bug utf-8

** Tags removed: upstream
** Tags added: upstream-bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1588770

Title:
  clipit produces invalid UTF-8 trying to ellipsise snippets

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clipit/+bug/1588770/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to