Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
1.3k views
in Q2A Core by
I can register with Chinese user name and login OK. but when click a chinese username at www.yourwebsite.com/users page, it should go to that user's profile but which is not.
Q2A version: 1.6.2
by
if I use
echo qa_request();

I got only "user" back if the username is in chinese. for English, I can get "user/englishname".

so on the page "qa-page-user.php", $handle = $handle=qa_request_part(1); return blank that cause

qa_redirect(isset($handle) ? ('user/'.$handle) : 'users');

still do not know how to handle this issue.
by
more findings:
if I use the url like this:http://www.yourwebsite.com/http://www.soxitoday.com/index.php?qa=user&qa_1="a chinese name here". it goes to correct page.
and this is not external user.

1 Answer

0 votes
by
Since it works with a different URL format it sounds like your web serving software may not be able to deal with Chinese characters in the request URLs. If you post the Chinese username you were using I can test it here to see if it's a common problem.
by
well, the post title all in Chinese characters and the request URLs in chinese too. but they work well.
if you do not mind, maybe you can try at "http://www.soxiotday.com/users/一马平川"。actually, Japanses name doesn't work also, few days ago, someone registered with a Japanese name, that's why I found it out after I click on his name.
is there anything wrong with the rewrite rules? I am using a windows hosting, so I am using web.config file to do the rewrite rules, everything works fine but the user profile with chinese name.

anyway, thanks for notice this.
by
Thanks for your reply and sorry for the delay at my end. I'm afraid I don't know enough about web.config files to tell you if it's configured correctly. Sorry again.
...