Mark Stosberg
  • Home
  • Mapping
  • Bike
  • Tech
  • Archive
  • About
Sign in Subscribe

Perl

Posts about the Perl programming language.
Best practice for handling UTF-8 when percent-encoding?

Best practice for handling UTF-8 when percent-encoding?

In my previous post I summarized the current state of Percent-encoding in Perl. One of my conclusions was that the perfect percent-encoding solution would automatically handle UTF-8 encoding, using logic like this: utf8::encode $string if utf8::is_utf8 $string; Respected Plack author miyagawa quickly responded in a response post
Mark Stosberg Dec 18, 2010
Percent-encoding URIs in Perl

Percent-encoding URIs in Perl

This post is about the current state of URI encoding in Perl. This is the problem space of being able to safely pass arbitrary text into and out of a URI format. If you've even seen a space in URL represented as "%20", that's
Mark Stosberg Dec 16, 2010
generating HTTP headers: sorted or unsorted?

generating HTTP headers: sorted or unsorted?

Recently I've been reviewing  how various Perl frameworks and modules generate HTTP headers. After reviewing several approaches, it's clear that there are two major camps: those which put the response headers in a specific order and those which don't. Surely one approach or the
Mark Stosberg Jan 24, 2010

Subscribe to Mark Stosberg

Subscribe to receive new posts by email
  • 📧 mark@stosberg.com
  • 📣 Mastodon
  • 💸 Leave a tip
Mark Stosberg © 2025. Powered by Ghost