Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created March 5, 2014 01:31
Show Gist options
  • Save yuuichi-fujioka/9359485 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/9359485 to your computer and use it in GitHub Desktop.
url encode and decode with shell
echo %E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%82%8F | tr = % | nkf -WwmQ
echo こんにちわ | nkf -wMQ | tr = %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment