In some old keyboard layouts for Persian language, We have some Arabic characters such as "ي".
This makes problem for searching and for appearance of web site.
How and where can i replace any wrong input character with correct one?
Should i modify any sql query that will be sent to database? How?
For if user entered "ي", I want to replace it with "ی". Or if entered "ك", I want to replace it with "ک".