Catman..._decode(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ Catmandu::Fix::uri_decode ✨

okay so bestie, welcome to Catmandu::Fix::uri_decode πŸ’– this is the Catmandu::Fix little helper that does percent decoding on a URI. that's it. that's the whole vibe. she takes those ugly %E1%BD%81-looking crumbs and turns them back into actual readable text, like a glow-up but for strings ✨

it lives in the Perl world, in the User Contributed Perl Documentation section (3pm), and honestly? iconic. no cap. πŸ‘‘


🌸 NAME 🌸

Catmandu::Fix::uri_decode β€” percent decode a URI πŸ¦‹


πŸ’… SYNOPSIS πŸ’…

here's how she eats, fr fr:

    # '3%A9' => 'cafΓ©'
    uri_decode(place)

    # '%E1%BD%81+%CF%84%E1%BF%B6%CE%BD+%CE%A0%CE%AD%CF%81%CF%83%CF%89%CE%BD+%CE%B2%CE%B1%CF%83%CE%B9%CE%BB%CE%B5%CF%8D%CF%82' => 'ὁ Ο„αΏΆΞ½ Πέρσων βασιλΡύς'
    uri_decode(title)

so like, you hand her a field name β€” place, title, whatever β€” and she decodes the percent-encoded mess sitting in it. 3%A9 becomes cafΓ© β˜• and yeah she even handles the full ancient-Greek situation, ὁ Ο„αΏΆΞ½ Πέρσων βασιλΡύς, because she's multilingual and unbothered πŸ’œ

that + in there? she's not scared of it. the whole string gets decoded, periodt.


πŸŽ€ SEE ALSO πŸŽ€

  • Catmandu::Fix β€” the whole fix family, the main character energy of the operation πŸ‘‘
  • Catmandu::Fix::uri_encode β€” her sister, does the exact opposite, encodes instead of decodes πŸ”„
  • URI::Escape β€” the underlying Perl module doing the actual heavy lifting 🧚

and that's the page bestie 🫢 written for perl v5.40.1, dated 2026-01-24 β€” go percent-decode something cute, you got this πŸ’–βœ¨

πŸ“¦ where this page comes from