GNOME Bugzilla – Bug 346604
handle possibly corrupt group descriptions
Last modified: 2006-07-07 05:54:32 UTC
After refreshing the group list pan starting complaining about the group descriptions. What I found is that about 55 of the groups have null and or newline characters in them. While I don't know the reason for this, it would be nice if pan could quietly handle this. The best way is probably to replace the bad characters with spaces.
Created attachment 68376 [details] list of groups with bad descriptions This list gives the group name and whether it containd a null or newline.
Works For Me (tm). Could you attach your newsgroups.dsc file?
Created attachment 68442 [details] possibly corrupt descriptions Here is the file. I deleted the old file and refreshed the groups to get this one. (groups.cc:337:load_group_descriptions) I don't understand ""
Created attachment 68446 [details] [review] candidate patch against 0.102. Give this patch a try and see how it goes. The first thing to test is, do the warnings go away. The changes to data-impl/groups.cc code should see to that. The second thing to test is to delete your newsgroups.dsc, update your groups list, and see if the empty lines are gone. I was forgetting to convert/sanitize the descriptions to UTF-8.
That fixed the problems. Thanks.