Hello,
We've been running into issues in Persian Wikipedia in cases where comparisons of two equal numbers ("1111" === "۱۱۱۱") has failed and I believe that int should resolve that.
Checking further, I found out that when a Persian number such as "۱۱۱۱" is passed to int, it just returns 0 which is not correct.
Please let me know if this can be implemented, for reference, here's a list of Persian numbers and their English equivalent:
Persian Num | English Num |
۰ | 0 |
۱ | 1 |
۲ | 2 |
۳ | 3 |
۴ | 4 |
۵ | 5 |
۶ | 6 |
۷ | 7 |
۸ | 8 |
۹ | 9 |