How to search for unicode characters?
-
I created a custom search page (search.php) and it works fine when I search non-unicode strings. However my INPUT box for the search can accept unicode characters (Thai script) and in fact many of my posts have titles and content that are stored (and displayed) properly in Thai, but my search fails for these characters. When I echo the search string, it shows an ascii translation of my keyword, and I think that is why the search fails. For example, echoing the query string shows s=%E0%B8%81%E0%B8%B8 but I typed ??
Can anyone please help me get this working, so that I can search for unicode characters?
- The topic ‘How to search for unicode characters?’ is closed to new replies.