Catman..._encode(3pm)
π NAME π
Catmandu::Fix::uri_encode β bestie, it percent-encodes a URI β¨
Like, it takes your cute lil string and turns it into that %E2%9C%A8-core URL-safe format, no cap π«Ά
πΈ SYNOPSIS πΈ
# 'cafΓ©' => '3%A9'
uri_encode(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_encode(title)
So basically you drop uri_encode(*field*) into your Fix file, and it takes whatever's in that field and percent-encodes it π
The examples up there are giving exactly what you get out β like, cafΓ© becomes 3%A9, and that whole ancient Greek phrase about the king of the Persians turns into a whole wall of %XX codes, periodt π₯
π SEE ALSO π
Go be nosy, bestie, these are the sibling pages you'll wanna peek at:
Catmandu::Fixβ the whole Fix ecosystem, the mothership πΈCatmandu::Fix::uri_decodeβ the reverse vibe, if you ever need to un-encode π¦URI::Escapeβ the actual machinery underneath doing the heavy lifting πͺ
That's literally the whole page β short, sweet, and it ate π β¨
Sign-off moment: this one's from perl v5.40.1, dated 2026-01-24, and it lives in the User Contributed Perl Documentation corner of the manual-verse π Take care of her, she's iconic π
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms