Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
402 views
in Q2A Core by
edited by
I installed Question2Answer in my server. I can not use title in Unicode character. When I use it, i got error and can not display to post. Because we use our own language to ask Q&A. That's my problems. How can I fix it?
Thank in advance.
Best
Mk
by
Can you please explain what you mean by "title"? Do you mean you cannot use unicode characters in the URLs of question pages? Can you show an example?
by
edited
yes, you can check there. http://club...‚Äč . I did some unicode char in title and show as error.
by
I took a look. While my answer below will work, I think there may also be a problem with your server being configured so that Q2A's setting of using UTF-8 for all page requests is not being respected.

1 Answer

0 votes
by
Modify qa_q_request() in qa-base.php so it simply contains:

return (int)$postid;
by
edited by
Should I change like

function qa_q_request($postid)

or ?
I already asker to server and they told me as it is because of my script and they can not help me. That's why I asked. can you show me how to replace it.
Thank
by
edited by
Thank, it is work now. I will send you feedback too.
by
Yes, here's the whole replacement function:

    function qa_q_request($postid, $title)
    {
        return (int)$postid;
    }
by
it is not working in Version 1.2 beta 1. how should I fix it?

Warning: implode() [function.implode]: Invalid arguments passed in /hermes/b..../qa-include/qa-base.php  on line 380
by
Make sure you replace the whole qa_q_request() function with the above, so there should be no reference to the implode() function for which you're seeing an error.
...