in reply to Hacker News titles using U+2013 EN DASH

I've put in a 'fix' - won't know if it works until HN puts out a title with the offensive string in it again. Thanks!

  • Comment on Re: Hacker News titles using U+2013 EN DASH

Replies are listed 'Best First'.
Re^2: Hacker News titles using U+2013 EN DASH
by kcott (Archbishop) on Jan 10, 2024 at 00:43 UTC

    Thanks. Both Slashdot nodelet and HackerNews nodelet are rendering without content. I'll keep monitoring.

    — Ken

      Thanks. I hadn't done the character conversion correctly. I needed s/\x{2016}/.../. There were three other characters I found in recent feed as well: 2019, 201C, and 201D. If you see any others needing to be converted, please drop me a note. Thanks!

        Maybe hit the remainder with Text::Unidecode if you don't want any UTF-8 output?