Bug 4384

Summary: U+00AD (soft hyphen) changed to space in Subject
Product: Claws Mail (GTK 2) Reporter: Kim B. Heino <b>
Component: Plugins/RSSylAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.17.6   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Screenshot with wrong rendering
none
Example feed
none
proposed patch none

Description Kim B. Heino 2020-09-17 08:48:02 UTC
Created attachment 2089 [details]
Screenshot with wrong rendering

Character U+00AD (soft hyphen) in feed title is rendered as visible space (wrong) in subject line. In message body it's not visible (correct).

Example feed: https://heino.kim/hs.fi.xml

Search for title "Myrsky iskee" and look at "pääkaupunki<U+00AD>seudulle".
Comment 1 Kim B. Heino 2020-09-17 08:49:46 UTC
Created attachment 2090 [details]
Example feed

Here's example xml feed file for above screenshot
Comment 2 Paul 2020-09-17 14:47:31 UTC
Created attachment 2092 [details]
proposed patch

proposed patch.

Be aware that, even after applying this patch, your feed's Subject lines will not be rewritten. You will need to re-subscribe to the feed to see the effects of this patch.
Comment 3 Kim B. Heino 2020-09-18 13:26:58 UTC
Thanks, proposed patch seems to work. Please apply it to next Claws Mail release.
Comment 4 Paul 2020-09-25 08:33:49 UTC
now in git