question: @ SuppressLint ( "Override" ) public static String replaceUnicodeDigits ( String number ) { StringBuilder normalizedDigits = new StringBuilder ( number . length ( ) ) ; for ( char c : number . toCharArray ( ) ) { int digit = Character . digit ( c , 10 ) ; if ( digit != - 1 ) { normalizedDigits . append ( digit ) ; } else { normalizedDigits . append ( c ) ; } } return normalizedDigits . toString ( ) ; }
target:  Replace arabic/unicode digits with decimal digits.