Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
647 views
in Q2A Core by

Regarding to the tag,

I should just add a space or comma to separate tags in English but Japanese space and comma are diffirent from English ones so the tags will not be separated.

I want to make Japanese space and comma work like English ones. Does anybody know how to do it?

I added the tags 日本語, space and タグ on this question but It shows one tag, 日本語 タグ, instead of 日本語 tag and タグ tag

1 Answer

+1 vote
by
 
Best answer

Thanks for bringing this to my attention. In qa-util-string.php, add the following elements to the big array titled $qa_utf8punctuation:

"\xE3\x80\x80" => ' ', // IDEOGRAPHIC SPACE
"\xE3\x80\x81" => ',', // IDEOGRAPHIC COMMA

I'll look into incorporating this into the next maintenance release.

by
It works. Thanks very much
...