Hi FomenkoAndrey,FomenkoAndrey wrote:when i use russian characters in tags, and go to that tags, i have url
http://site/tag/%25D0%25B1%25D0%25BB%25D1%258Fits bad and not correct.is converted to a safer representation internally
will good or russian in an address, or a transliteration of characters.
while I totally understand that it is "nicer" to have a readable URL, it is NOT ALLOWED by the URL standard!
There exist several standards around Internet technology and one of these is the RFC1738 by the internet engineering task force. This RFC defines the Uniform Resoruce Locators (URL) https://www.ietf.org/rfc/rfc1738.txt (the current version from 2005 has the same unreserved characters http://tools.ietf.org/html/rfc3986 )
Now search on this page for "unreserved". You will find this:
This is what is allowed in an URL without encoding it! Any other character is not conforming to this standard. Most browsers can deal with it, but many systems don't. If we would develop without conformin to this standard, that would mean that some users might not be able to visit the tag-links.lowalpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
"i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
"q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
"y" | "z"
hialpha = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
"J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
"S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"
// ...
alpha = lowalpha | hialpha
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |
"8" | "9"
safe = "$" | "-" | "_" | "." | "+"
extra = "!" | "*" | "'" | "(" | ")" | ","
unreserved = alpha | digit | safe | extra
Now the good thing is, that RH topic tags is developed in the way that all links conform to the standard which guarantees that the links work for all users on any device. However, you still can use a tag link with some (not all, e.g. "/" would break the url) special characters, because the decoder does not touch them.
The encoding was explicitly introduced to resolve issue #32: https://github.com/RobertHeim/phpbb-ext ... /issues/32