Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
901 views
in Q2A Core by
how can I change "tags url" for tags contains nonlatin characters.
For example
tag = чай
display url = %D1%87%D0%B0%D0%B9

thanks

2 Answers

+2 votes
by
This depends mainly on your web browser. Even though the URL contains non-latin characters, many modern web browsers will show it correctly in the language. As far as I know, it's not possible to do anything better than this, unless the URL itself does not contain the tag at all.
0 votes
by
you can make it for title URL's explained by gidgreen in this post
http://www.question2answer.org/qa/412/how-to-fix-strange-characters-on-urls

but for tags you can make it by change your database. Add one row to 'words' table something like 'tagsuri'..
then edit following files
qa-util-string.php
qa-app-post-crate.php
qa-db-post-crate.php
qa-app-format.php
qa-db-selects.php
qa-page-tag.php
qa-page-tags.php

idea is to find your tag word in 'words' table, then add url slug on 'taggsuri'

thats all :D
This is a important point for multilanguage environment. Site using utf8 but url's may be a problem like this. So this must be a feature I think.
by
Hi SanalBaykus, i don't understand your commnet about non-unicode characters. How did you solve this problem. Thanks,
...