Skip to content

Instantly share code, notes, and snippets.

@hail2u hail2u/

Last active Aug 29, 2015
What would you like to do?

Test!"#$%&'()*+,-./0123456789:;=<>?@[\]^_`{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿À

  • 小文字に変換される
  • 空白は-に変換される
  • a-zA-Z-_はそのまま
  • Àより前の半角記号はほとんど削除される
    • ただしªµºは残る
  • ソフトハイフンが挙動不審
  • 残りはUTF-8でURLエンコード
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.