Forum shouldn't cuase error while searching unicode

If we use unicode character in the search of forum
it will cuase the error which is not the desired
behavior it should check and return result.

TNL-336
Merge pull request #5418 from mlkwaqas/waqas/tnl336-forum-search-unicode-error

Forum shouldn't cuase error while searching unicode