true they are different but please try this testEDIT: Oh no, tested ى and ي but you said there are different. So: It does work here!
file name: مَكر
search term (whole word without diacritic): مكر
and you will find nothing unless you only use the first letter م