Hi, in de.test there was a discussion about the display of SOFT HYPHENs (U+00AD). The thread started here: | Subject: Soft hyphen (was: FDP: Keine eAuto-Förderung mehr. Grüne: Kohleverstromung fördern. Putin: Pumpe defekt, so sorry.) | Message-ID: <AABitvftEqIAAA7s.A3.flnews@WStation7.micha.freeshell.org> The trigger was an article in ger.ct: | From: Jochen Kremer <jochen.news@kremerweb.de> | Newsgroups: ger.ct | Subject: Re: FDP: Keine eAuto-Förderung mehr. Grüne: Kohleverstromung fördern. Putin: Pumpe defekt, so sorry. | Date: Sat, 25 Jun 2022 00:27:27 +0200 | Message-ID: <jhms2gF1vn8U1@mid.individual.net> Under macOS, for example, the display of SOFT HYPHENs depends on the terminal program used. Apple's Terminal.app displays the SOFT HYPHENs like HYPHENs: <http://d--p.de/tmp/2022-06-28_Terminal.app.png> while e.g. iTerm.app does not display them: <http://d--p.de/tmp/2022-06-28_iTerm.app.png> Unicode Standard Annex #14 §5.4 "Use of Soft Hyphens" <https://www.unicode.org/reports/tr14/#SoftHyphen> states: "[...] the character U+00AD SOFT HYPHEN (SHY) is an invisible format character that merely indicates a preferred intraword line break position." According to this definition ("invisible format character") we could remove the SOFT HYPHENs before displaying the article. Then it would not matter how the terminal program would display such characters. I'm not sure if this makes sense or if the terminal programs would have to handle it. Anyway, the attached patch removes the SOFT HYPHENs if the article was in UTF-8 and the local charset is also UTF-8. Dennis