title: How to convert Persian/Arabic numbers to English numbers in Kotlin?
body: <p>How can I convert Persian/Arabic numbers to English in Kotlin? I saw similar qustions in java but It doesn't match my requirement. I want to pass Date as String to web service. when I get Date in devices that uses Persian localized digits are Persian and the server can't convert this String to DateTime. So I need to convert all digits to English.
  here is the Date that I receive in Devices with Persian Localized:</p>
  <blockquote>
  <p>&quot;۲۰۲۰/۰۸/۲۱&quot;</p>
  </blockquote>
  <p>and these are Persian/Arabic numbers</p>
  <blockquote>
  <p>(۰ -&gt; 0)  (۱ -&gt; 1) (۲ -&gt; 2) (۳ -&gt; 3) (۴ -&gt; 4) (۵ -&gt; 5) (۶ -&gt; 6) (۷-&gt; 7) (۸ -&gt; 8) (۹ -&gt; 9)</p>
  </blockquote>
  <p>I need a fun in Kotlin to perform this.</p>