最佳答案
如何用一个简单的函数将波斯/阿拉伯数字转换为英文数字?
arabicNumbers = ["١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩", "٠"]
persianNumbers = ["۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹", "۰"]
它是相同的模式,但是代码页不同。