#9480 closed feature request (invalid)
New Feature: Punycode Support in URLs (slugs)
Reported by: | hakre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7.1 |
Component: | General | Keywords: | punycode |
Focuses: | Cc: |
Description
WordPress User are reporting, that WordPress does UrlEncode (%[a-z0-9]{2} specific chars in slugs. You find those urlencoded-dramarettes in slugs later on then.
Instead of this very limited encoding/decoding, I suggest using Punycode. Punycode can be used to get any Unicode Input into the slugs and therefore having very nice URLs for everybody!
Change History (7)
#4
in reply to:
↑ 1
@
16 years ago
Replying to ryan:
We do standard IRI-to-URI conversion for slugs. Punycode is for domains, where you can't do octet encoding.
Ryan, can you tell me where I find the code in core this is done? I did some searches but was unable to find out. A hint in the right direction might already help.
#7
@
16 years ago
I start collecting more Info here: http://codex.wordpress.org/User:Hakre/slugs_to_css_classnames
Note: See
TracTickets for help on using
tickets.
We do standard IRI-to-URI conversion for slugs. Punycode is for domains, where you can't do octet encoding.