Probably introduced in 0003887b0fcffca4c690e97b530395ad31411a92
Empty lines disappear in comments when reading a file
I've found this answer: https://unix.stackexchange.com/questions/597962/how-widespread-is-the-c-utf-8-locale
I think, it's a reasonable solution. Probably, empty text read from file should be deleted as well (like it happens with 2-point polygons)
I've checked that xfig can read empty text objects from a file (but then it's not possible to select end edit them). So another possible solution for this issue would be to allow setting empty text in the dialog.
I've checked that xfig can read empty text objects from a file (but then it's not possible to select end edit them). So another possible solution for this issue whould be to allow setting empty text in the dialog.
For me this happens as a side-effect of #178: I'm using 8-bit locale and I can occasionaly have a foreign utf8 symbol in a text object. In this case text objects are shown correctly, but Edit dialog truncates text starting from the "bad" symbol (and the text can become empty). I think it's good to fix the crash anyway, but not sure what is better to do with #178. Is it possible to show text and comments in dialogs in utf8 and avoid conversions? Is it reasonable to set utf8 locale in xfig internally?...
crash with empty text object (3.2.9a)