'PHP Japanese string comparison with Unicode
I've seen multiple topics with this problem but none of them deal with it in PHP. I have to find a string in a database. The problem is that the string I have to look for is Japanese encoded and doesn't match with the database entries even if they are equal.
Search string:
Free!
String in database:
Free!
Edit: Both strings are encoded in UTF-8. You clearly can see the difference between them. Is there a possibility to recognize equality from these two strings?
If there is no programmatic way to solve the problem, does anyone know a character database which I can use to convert the string manually?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
