Skip to content

Instantly share code, notes, and snippets.

$ perl -MURI::Escape -e 'print URI::Escape::uri_escape("äöü")."\n";'
%C3%A4%C3%B6%C3%BC
$ perl -MURI::Escape -e 'print URI::Escape::uri_escape_utf8("äöü")."\n";'
%C3%83%C2%A4%C3%83%C2%B6%C3%83%C2%BC
$ perl -Mutf8 -MURI::Escape -e 'print URI::Escape::uri_escape("äöü")."\n";'
%E4%F6%FC

Keybase proof

I hereby claim:

  • I am cngarrison on github.
  • I am cngarrison (https://keybase.io/cngarrison) on keybase.
  • I have a public key whose fingerprint is EC55 FAB3 015A 910C 4A6D 3869 230E 41BF 0A8C F2E8

To claim this, I am signing this object: