Characters in URLs
од carbsrule, 02. октобар 2016.
Поруке: 4
Језик: English
carbsrule (Погледати профил) 02. октобар 2016. 12.41.31
1) Use the characters as they are (may not work for all browsers etc. although I haven't looked too deeply into this yet)
2) Convert using the x-system
3) Convert using the h-system
4) Just remove the circumflex; e.g. convert ĉ to c
Roch (Погледати профил) 02. октобар 2016. 19.24.05
https://eo.wikipedia.org/wiki/Ĉeĥio
https://eo.wikipedia.org/wiki/%C4%88e%C4%A5io
edit
Percent-encoding might be a good read...
https://en.wikipedia.org/wiki/Percent-encoding
nornen (Погледати профил) 03. октобар 2016. 02.35.22
The "percent-encoding" actually doesn't change a thing, because it is just an encoding, a way of representing the characters. This encoding generally happens on-the-fly, invisible to the user. For instance, when I hover my mouse over your second link, the tooltip says "https://eo.wikipedia.org/wiki/Ĉeĥio".
See RFC 3986 for more details.
To answer OP's question: I would suggest to use the actual characters.
carbsrule (Погледати профил) 03. октобар 2016. 10.20.12
Yeah I played around and came to the same conclusion - if I use percent encoding (via the urlencode method in PHP), it should be fine. I'll still test all the browsers anyway. I'll bet IE will find some way of giving me trouble.