[BUG] "Pango-WARNING **: Invalid UTF-8 string" with some strings
Lubomir I. Ivanov
neolit123 at gmail.com
Tue Oct 2 07:12:05 PDT 2012
i'm currently looking at a problem where a pango warning is spit in
the console if you edit a dive and enter for example the following
text in "Location":
not sure if my email arrives as unicode, so basically the above is a 0
(zero) followed by 31 cyrillic lowercase d's (д = U-0434)
from what i can tell so far this happens when retrieving a
gtk_entry_get_text() from a combo box
(info.c:get_combo_box_entry_text) and setting the same text as window
title and as a tree list column entry.
i'm currently debugging the string and believe this is somehow length
related...happens with other variations of characters and inserted
spaces as well.
overall, looks like a gtk/pango bug and is a bit difficult to enter
such as sequence by accident.
strangely the same does not happen when entering such strings as trip locations.
More information about the subsurface