in reply to Re^4: Hacker News titles using U+2013 EN DASH
in thread Hacker News titles using U+2013 EN DASH

Text::Unidecode

Is that in the standard library? I don't have the ability to install modules on this system. (Maybe Corion can do it.)

And would this be all I need? i.e. will it cover the four that I've already done?

Thanks!

Today's latest and greatest software contains tomorrow's zero day exploits.
  • Comment on Re^5: Hacker News titles using U+2013 EN DASH

Replies are listed 'Best First'.
Re^6: Hacker News titles using U+2013 EN DASH
by NERDVANA (Priest) on Jan 11, 2024 at 21:49 UTC
    Definitely a cpan module.
    perl -E 'use Text::Unidecode; say unidecode("\x{2016} \x{2019} \x{201C +} \x{201D}")' || ' " "

    are you sure you had the right codepoint above for 2016?

      No, that was a typo; I meant 2013.